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

Draft
wants to merge 11 commits into
base: dev
Choose a base branch
from
Draft

test: switch from nose2 to pytest #208

wants to merge 11 commits into from

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
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