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

TST: Mock model classes in unit tests for high-level functions, write #784

Open
2 tasks
NickleDave opened this issue Oct 25, 2024 · 0 comments
Open
2 tasks
Labels
Models Issue related to models TST: testing testing

Comments

@NickleDave
Copy link
Collaborator

Many unit tests for the "core" functions that correspond to the CLI commands are slow, e.g. for vak.train.frame_classification.train_frame_classification_model. This is because they actually run the trainer on the model class.

  • We should if possible speed these up by using mocks
  • We should then have separate unit tests for the classes themselves that test they train / eval / predict as expected
@NickleDave NickleDave added TST: testing testing Models Issue related to models labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Models Issue related to models TST: testing testing
Projects
Status: No status
Development

No branches or pull requests

1 participant