Skip to content

Test suite improvements while converting to pytest - #170

Merged
joanise merged 2 commits into
mainfrom
dev.ej/convert-to-pytest
Oct 15, 2026
Merged

joanise merged 2 commits into
mainfrom
dev.ej/convert-to-pytest

Conversation

@joanise

@joanise joanise commented Oct 14, 2026

Copy link
Copy Markdown
Member

EveryVoiceTTS/EveryVoice#896

Here we were already using pytest, but I've done some refactoring to improve the test suite at the same time.

@joanise
joanise requested a review from roedoejet October 14, 2026 21:01
@semanticdiff-com

semanticdiff-com Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Review changes with  SemanticDiff

Changed Files
File Status
  fs2/tests/test_loading.py  43% smaller
  fs2/tests/test_chunking.py  40% smaller
  fs2/tests/test_cli.py  33% smaller
  .pre-commit-config.yaml  0% smaller

@joanise joanise changed the title Dev.ej/convert to pytest Test suite improvement while converting to pytest Oct 14, 2026
@joanise joanise changed the title Test suite improvement while converting to pytest Test suite improvements while converting to pytest Oct 14, 2026
@codecov

codecov Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.89%. Comparing base (1b7dfea) to head (e7e32d7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #170   +/-   ##
=======================================
  Coverage   49.89%   49.89%           
=======================================
  Files          25       25           
  Lines        1980     1980           
  Branches      229      229           
=======================================
  Hits          988      988           
  Misses        950      950           
  Partials       42       42           

☔ View full report in Codecov by Harness.
📢 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.

 - factor out code that is repeated many times
 - improve test assertions that were weak
 - restrict the preprocess audio fixture to just the test that needs it
 - other small improvements

Changes made by me based on issues Claude Opus 5.5 suggested looking at.
@joanise
joanise force-pushed the dev.ej/convert-to-pytest branch from cb9af7d to e7e32d7 Compare October 15, 2026 17:56
@joanise
joanise merged commit e7e32d7 into main Oct 15, 2026
7 checks passed
@joanise
joanise deleted the dev.ej/convert-to-pytest branch October 15, 2026 18:09
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