@tractor-plugins/mocha-specs v1.9.4-tractor-to-playwright.0
@tractor-plugins/mocha-specs
Plugin for tractor for creating E2E tests with Mocha.
How to install
npm install @tractor-plugins/mocha-specs --devConfig
// tractor.conf.js
module.exports = {
// ...
mochaSpecs: {
},
// ...
};For more information see here
Development
To set up development, just run yarn from the root of the repository. You can then run the following commands from within the directory, or use lerna run with --scope="@tractor-plugins/mocha-specs.
Build
To build the whole package:
yarn buildTest
To run unit tests:
yarn test
yarn cover # with coverageTo run end-to-end tests:
yarn tractor:test # in one tab
yarn test:e2e # in another tabTo run end-to-end tests in CI mode:
yarn test:e2e:ci # handles the starting and killing of the application for testingTo start tractor:
yarn tractor4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago