Skip to content

Flag to log only the failing conditions #128

Open

Description

@SamyPesse

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).

Activity

  1. dinoboff commented on Sep 6, 2017

    @dinoboff
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions