Skip to content

Support for cargo-nextest and other test runners #370

@eglif-roche

Description

@eglif-roche

Cucumber only works with cargo test, but not with other test runners (e.g. cargo-nextest).

What would be required to support this:

Nextest calls the test executable first with the parameters --list --format terse. This should print a list of all tests.
e.g.

scenario_name1: test
scenario_name2: test
scenario_name3: test

Then Nextest calls the test executed with the parameters --list --ignored --format terse. This should print a list of all currently ignored tests.

Then Nextest calls the test executable with the parameter --exact <scenario_name> . This should execute only the specified test.

As a workaround we had to add a wrapper and CLI around Cucumber to support this. But it would be nice if this would be supported out of the box by Cucumber.

Metadata

Metadata

Assignees

Labels

featureNew feature or requestk::UI/UXUI (user interface) and UX (user experience) changesk::integrationRelated to integration with third-party toolsrfc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions