@testplane/test-filter
v1.1.0
Published
plugin for filtering tests specified in json-file
Downloads
10
Readme
@testplane/test-filter
Plugin for Testplane to filter tests specified in json-file.
Install
npm install @testplane/test-filterConfiguration
enabled[Boolean] (optional,falseby default) - enable/disable the plugin.inputFile[String] (optional,testplane-filter.jsonby default) - path to file with tests to run.
Usage
- Require plugin in your testplane config file:
plugins: {
'@testplane/test-filter': {
enabled: true,
inputFile: 'some/file.json'
}
}- Input file format:
[
{
"fullTitle": "full test title",
"browserId": "browser-id"
},
{
"suiteTitle": "suite title (describe block)",
"browserId": "browser-id"
},
{
"title": "test title (it block)",
"browserId": "browser-id"
}
]If multiple fields (fullTitle, suiteTitle, title) are specified for a single entry, fullTitle takes precedence, then suiteTitle, then title.
