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

Add colour to exceptions from test suite #3596

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

timothy-nunn
Copy link
Contributor

I decided not to use a package to do this because I don't feel the need to introduce another dependency just for 5 lines of colour. The ANSI codes should work with the CI and all terminals we use.

@timothy-nunn timothy-nunn requested a review from jonmaddock March 20, 2025 11:00
@timothy-nunn timothy-nunn linked an issue Mar 20, 2025 that may be closed by this pull request
@timothy-nunn
Copy link
Contributor Author

image

@codecov-commenter
Copy link

codecov-commenter commented Mar 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 31.74%. Comparing base (2083732) to head (8fea50f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3596   +/-   ##
=======================================
  Coverage   31.74%   31.74%           
=======================================
  Files          85       85           
  Lines       20161    20161           
=======================================
  Hits         6400     6400           
  Misses      13761    13761           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@timothy-nunn timothy-nunn self-assigned this Mar 20, 2025
@timothy-nunn timothy-nunn force-pushed the 3536-more-colour-in-error-messages branch from 6611d44 to 8fea50f Compare March 25, 2025 14:51
@timothy-nunn timothy-nunn merged commit a62a6dd into main Apr 3, 2025
18 checks passed
@timothy-nunn timothy-nunn deleted the 3536-more-colour-in-error-messages branch April 3, 2025 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

More colour in error messages
3 participants