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

test: switch from nose2 to pytest #208

Merged
merged 15 commits into from
Jan 10, 2025
Merged

test: switch from nose2 to pytest #208

merged 15 commits into from
Jan 10, 2025

Conversation

eginhard
Copy link
Member

@eginhard eginhard commented Dec 12, 2024

Switch to a modern testing framework that enables the following:

  • use temporary output folders to not pollute the user space
  • use @pytest.mark.parametrize where applicable to reduce duplication
  • switch to pytest fixtures for easier setup
  • run CLI tests via Python to get test coverage from them
  • reduce duplication in model training tests

Fixes coqui-ai#3192

@eginhard eginhard force-pushed the pytest branch 15 times, most recently from 970cbe4 to f212465 Compare December 15, 2024 08:14
@eginhard eginhard marked this pull request as draft December 15, 2024 21:46
@eginhard eginhard force-pushed the pytest branch 3 times, most recently from 8b7c253 to 62b657e Compare December 26, 2024 17:46
@eginhard eginhard marked this pull request as ready for review January 10, 2025 08:20
@eginhard eginhard merged commit e17723a into dev Jan 10, 2025
32 checks passed
@eginhard eginhard deleted the pytest branch January 10, 2025 09:33
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.

2 participants