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

Silence all test suites #250

Merged
merged 6 commits into from
Nov 18, 2024
Merged

Silence all test suites #250

merged 6 commits into from
Nov 18, 2024

Conversation

joanise
Copy link
Member

@joanise joanise commented Nov 7, 2024

PR Goal?

Reduce the amount of output we get from running test test suites.

Now, test/run.py --quiet (using this new option I added), you get just dots:

$ test/run.py --quiet
INFO - No test suite specified, defaulting to dev.
..........................................................................................................................................
----------------------------------------------------------------------
Ran 138 tests in 39.697s

OK

like a well-behaved test suite.

Fixes?

my annoyance at verbose test suite output

Feedback sought?

sanity checking

Priority?

medium

Tests added?

it's only tests...

How to test?

Run test/run.py and test/run.py --quiet and enjoy the (relative) silence.

Confidence?

high

Version change?

no

@joanise joanise requested review from dhdaines and deltork November 7, 2024 20:01
Copy link

semanticdiff-com bot commented Nov 7, 2024

Review changes with  SemanticDiff

Changed Files
File Status
  test/test_api.py  84% smaller
  test/test_anchors.py  82% smaller
  test/test_web_api.py  75% smaller
  test/test_force_align.py  75% smaller
  test/test_g2p_cli.py  69% smaller
  test/test_dna_text.py  57% smaller
  test/test_tokenize_xml.py  56% smaller
  test/run.py  15% smaller
  readalongs/text/make_package.py  10% smaller
  .pre-commit-config.yaml Unsupported file format
  test/basic_test_case.py  0% smaller
  test/test_audio.py  0% smaller
  test/test_misc.py  0% smaller

Copy link

codecov bot commented Nov 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.79%. Comparing base (92111e9) to head (cc0fa86).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #250      +/-   ##
==========================================
+ Coverage   87.34%   87.79%   +0.45%     
==========================================
  Files          21       21              
  Lines        1786     1770      -16     
  Branches      323      321       -2     
==========================================
- Hits         1560     1554       -6     
+ Misses        188      179       -9     
+ Partials       38       37       -1     

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


🚨 Try these New Features:

@joanise joanise force-pushed the dev.ej/silence-unit-tests branch from 91f7fd6 to 17bb3c4 Compare November 7, 2024 20:13
@joanise joanise force-pushed the dev.ej/silence-unit-tests branch from 17bb3c4 to 472672d Compare November 7, 2024 20:45
@joanise joanise requested a review from roedoejet November 13, 2024 21:25
@joanise joanise merged commit 2afc316 into main Nov 18, 2024
6 checks passed
@joanise joanise deleted the dev.ej/silence-unit-tests branch November 18, 2024 21:54
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.

1 participant