Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running SCENARIOs: Omit "SCENARIO" in selection #645

Open
jinnovation opened this issue Apr 20, 2016 · 1 comment
Open

Running SCENARIOs: Omit "SCENARIO" in selection #645

jinnovation opened this issue Apr 20, 2016 · 1 comment

Comments

@jinnovation
Copy link

Say I have some SCENARIO defined like so:

SCENARIO("foo", "[foo][bar][baz]") {
    // ...
}

I argue that the intuitive interface for selecting to run only the tests for this specific scenario is: ./test_executable foo.

However, given that the SCENARIO binding prepends its descriptor with Scenario:, we're required to instead select for the specific scenario like so: ./test_executable "Scenario: foo", which seems less than ideal.

@woozie164
Copy link

Thanks. Was wondering why my test scenario wouldn't run. Explains it.

Similar issue with the GIVEN, WHEN, THEN macros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants