Skip to content

gemini-testing/testplane-test-filter

Repository files navigation

@testplane/test-filter

Plugin for Testplane to filter tests specified in json-file.

Install

npm install @testplane/test-filter

Configuration

  • enabled [Boolean] (optional, false by default) - enable/disable the plugin.
  • inputFile [String] (optional, testplane-filter.json by 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.

About

Testplane plugin to filter tests specified in JSON-file.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 8