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

[close #50] Annotate rspec errors #136

Merged
merged 1 commit into from
Sep 22, 2020
Merged

[close #50] Annotate rspec errors #136

merged 1 commit into from
Sep 22, 2020

Commits on Sep 21, 2020

  1. [close #50] Annotate rspec errors

    For intermittent failures it's important to get as much debugging information as possible about the test in progress. This PR annotates any rspec expectation failures that happen in a `deploy {}` block with the application name. Here's an example of what it will look like:
    
    ```
         Failure/Error: expect(true).to eq(false)
    
           App: hatchet-t-873bcea87c (default_ruby)
    
           expected: false
                got: true
    
           (compared using ==)
    
           Diff:
           @@ -1 +1 @@
           -false
           +true
    ``` 
    
    
    In this example if the failure was due to an `app.run` then we could manually `app.run` against the same app (assuming it had not been reaped yet) in order to better debug.
    schneems committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    7dce8aa View commit details
    Browse the repository at this point in the history