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

Flag to log only the failing conditions #128

Open
SamyPesse opened this issue Sep 5, 2017 · 1 comment
Open

Flag to log only the failing conditions #128

SamyPesse opened this issue Sep 5, 2017 · 1 comment

Comments

@SamyPesse
Copy link

When using targaryen as the jasmine integration, when a test is failing, the output is really verbose for complex rules.

To debug the issue, we have to look for => false in all the logs.

I tried playing with setVerbose and setDebug, but none seems to help (either we have no logs or too much logs).

I'm suggesting adding an option to log only the failing conditions (the ones returning false or throwing an error).

@dinoboff
Copy link
Collaborator

dinoboff commented Sep 6, 2017

I will try to tackle it when I have time but I am happy to accept a PR. TODO:

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