1.1.0 • Published 5 years ago
hermione-test-sequencer v1.1.0
hermione-test-sequencer
Hermione plugin for running tests in the specified order in one session. Inspired hermione-test-filter.
Install
npm i -D hermione-test-sequencer
Usage
Set options for the plugin in your hermione config:
plugins: {
'hermione-test-sequencer': {
enabled: false,
filterTests: true,
inputFile: 'some/file.json'
}
}
Input file format:
[
{ "fullTitle": "some-title" },
{ "fullTitle": "some-title-2", "browserId": "some-browser" },
{ "fullTitle": "some-title-2", "browserId": "some-browser-2" }
]
Run hermione with cli option (if enabled: false
):
npx hermione --seq
Options
Option | Type | Default | Description |
---|---|---|---|
enabled | [Boolean] | false | Enable/disable the plugin. |
filterTests | [Boolean] | true | Filter and disable other tests. |
inputFile | [String] | hermione-sequencer.json | Path to file with tests to run. |
Licence
MIT