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

Render failures details in rspec failures section #21

Closed
Ana06 opened this issue Jan 19, 2017 · 0 comments · Fixed by #22
Closed

Render failures details in rspec failures section #21

Ana06 opened this issue Jan 19, 2017 · 0 comments · Fixed by #22

Comments

@Ana06
Copy link
Member

Ana06 commented Jan 19, 2017

Could we render the failure example in the rspec details of the failures instead of doing it when running the test? Because currently it is render with puts and pretty_print (https://github.com/hayeah/rantly/blob/edd7289d26171ad6aa9d03e0e4fb67091c09798d/lib/rantly/property.rb#L46) and it breaks the output of the RSpec. For example:

With the default rspec output:
image

With nyan-cat-formatter gem:
screenshot_20170119_092441

So it would be great if the number of tests run and the example that failed (if it fails) were render in the failures.

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

Successfully merging a pull request may close this issue.

1 participant