An open API service indexing awesome lists of open source software.

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.

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