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

How to show only failing tests? #190

Open
bishisht opened this issue Dec 14, 2016 · 5 comments
Open

How to show only failing tests? #190

bishisht opened this issue Dec 14, 2016 · 5 comments

Comments

@bishisht
Copy link

Hello there all. I have a large test suite and there are some tests failing and some are passing. What I want to happen is don't show anything for passing test but only show failing scenarios / features. How can I do that?

@mrcasals
Copy link
Contributor

@bishisht I don't think there's any reporter right now that does this, but we usually use the progress reporter, that shows a lot less info (a green dot for passing tests, and a ref "F" for failing ones). At the end of the suite you get all the failing tests.

See the README section on how to use the reporters.

Hope it helps!

@ywen
Copy link
Collaborator

ywen commented Dec 14, 2016

@bishisht if you run your suite on CI you can use ci_reporter_spinach gem

@bishisht
Copy link
Author

@ywen i use circle ci. any suggestions?

@ywen
Copy link
Collaborator

ywen commented Dec 14, 2016

@bishisht well I haven't used circle for a while. But according to: https://circleci.com/docs/test-metadata/ the gem mentioned above should work. (It generates the same XML format as rspec_junit_formatter gem)

@bishisht
Copy link
Author

OK @ywen I will try. If I success we may someday have a beer together :) if not I may ask for help again :)

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

No branches or pull requests

3 participants