https://github.com/ruslanxdev/hermione-test-sequencer
Hermione plugin for running tests in the specified order in one session.
https://github.com/ruslanxdev/hermione-test-sequencer
Last synced: about 1 year ago
JSON representation
Hermione plugin for running tests in the specified order in one session.
- Host: GitHub
- URL: https://github.com/ruslanxdev/hermione-test-sequencer
- Owner: ruslanxdev
- License: mit
- Created: 2019-02-21T12:21:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-26T10:40:12.000Z (over 7 years ago)
- Last Synced: 2025-02-14T21:35:39.702Z (over 1 year ago)
- Language: JavaScript
- Size: 155 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hermione-test-sequencer
[Hermione](https://github.com/gemini-testing/hermione) plugin for running tests in the specified order in one session. Inspired [hermione-test-filter](https://github.com/gemini-testing/hermione-test-filter).
## Install
```
npm i -D hermione-test-sequencer
```
## Usage
Set options for the plugin in your hermione config:
```js
plugins: {
'hermione-test-sequencer': {
enabled: false,
filterTests: true,
inputFile: 'some/file.json'
}
}
```
Input file format:
```json
[
{ "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