Skip to content

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions