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

Suppress tests that don't have any stages? #151

Closed
nikowitt opened this issue Oct 20, 2015 · 1 comment
Closed

Suppress tests that don't have any stages? #151

nikowitt opened this issue Oct 20, 2015 · 1 comment

Comments

@nikowitt
Copy link
Contributor

Hi Jan,

currently, we have got test classes that extend from a JGiven scenario and are therefore considered in the report (I assume that this is the condition) with both JGiven styled tests and lots of old styled tests with no given-when-then convention. In the report, the title of these old style tests is printed.

Shouldn't it be possible to exclude these tests automatically from the report as they are no real scenarios? I think there is already some annotation that allows the exclusion, but I don't want to annotate dozens of old tests...

Regards,
Niko

@janschaefer
Copy link
Contributor

One could maybe add some flag to automatically exclude scenarios without any steps. I wouldn't like to do this by default, because it might be confusing. But in a mixed scenario like yours it would be useful. Maybe the best place for this would be the report generator.

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

2 participants