Plugin for Testplane to filter tests specified in json-file.
npm install @testplane/test-filterenabled[Boolean] (optional,falseby default) - enable/disable the plugin.inputFile[String] (optional,testplane-filter.jsonby default) - path to file with tests to run.
- 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.