chrec-core
TypeScript icon, indicating that this package has built-in type declarations

0.7.1 • Public • Published

ChRec Core

ChRec's core and replay business logic and model for testing HTML locator robustness.

Build Status Codecov Coverage

Contributing

Clone this repository:

git clone https://github.com/cyluxx/chrec-core.git

Navigate to the installed location and install dependencies:

cd chrec-core
npm install

Run Tests with:

npm run test

Make sure that at least one proper Selenium server instance is running and all corresponding webdrivers are installed and configured:

You can configure your Selenium Url via the SELENIUM_SERVER_URL variable in the package.json:

"scripts": {
    ...
    "test-dev": "cross-env SELENIUM_SERVER_URL=http://localhost:4444/wd/hub NODE_ENV=dev jest --config jestconfig.json",
    ...
  },

Format code with:

npm run format

Lint code with:

npm run lint

Package Sidebar

Install

npm i chrec-core

Weekly Downloads

0

Version

0.7.1

License

Apache License 2.0

Unpacked Size

76.6 kB

Total Files

75

Last publish

Collaborators

  • cyluxx