1.1.0 • Published 5 years ago

hermione-test-sequencer v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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

OptionTypeDefaultDescription
enabled[Boolean]falseEnable/disable the plugin.
filterTests[Boolean]trueFilter and disable other tests.
inputFile[String]hermione-sequencer.jsonPath to file with tests to run.

Licence

MIT