Hermione plugin for running tests in the specified order in one session. Inspired hermione-test-filter.
npm i -D hermione-test-sequencer
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
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. |
MIT