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

Include location of failed assertion in report #308

Merged
merged 2 commits into from
Jun 21, 2019

Commits on Jun 20, 2019

  1. Include location of failed assertion in report

    Fixes hedgehogqa#306.
    
    Adds the location of the failed assertion (taken from the Span value
    of the failure report). Example output:
    
    ```
     ✗ <interactive> failed at test/Test/Hedgehog/Applicative.hs:91:11
        after 1 test.
    
           ┏━━ test/Test/Hedgehog/Applicative.hs ━━━
        69 ┃ ...
    
    ```
    
    This enables editors to easily parse the location of failed test
    assertions and provide links/jump functionality.
    owickstrom committed Jun 20, 2019
    Configuration menu
    Copy the full SHA
    6670cd6 View commit details
    Browse the repository at this point in the history
  2. Match style guide

    owickstrom committed Jun 20, 2019
    Configuration menu
    Copy the full SHA
    cfbbe59 View commit details
    Browse the repository at this point in the history