Skip to content

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

Open

Description

@NickleDave

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

Activity

  1. added
    Models
    on Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ModelsTST: testing

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions