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

Custom failure file (for editor and workflow integration) #333

Open
e2 opened this issue Jun 26, 2015 · 0 comments
Open

Custom failure file (for editor and workflow integration) #333

e2 opened this issue Jun 26, 2015 · 0 comments

Comments

@e2
Copy link
Contributor

e2 commented Jun 26, 2015

It would be nice if Guard::RSpec could be configured to leave a "failures file" in a format usable by other tools.

By creating such a file only during failures, Guard could be watching that file and running other tools as a response (e.g. launchy, opening errors in emacs, etc.).

Currently, RSpec has a built-in html and json formatter, but those are AFAIK created every time, and they turn off the default output anyway (so you can't watch the RSpec output and then have a custom output file at the same time).

(Recently, RSpec grew a '--only-failures' option, though I don't know how it behaves in edge cases.)

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

1 participant