Skip to content
ReferenceUnreviewed

Testing standards

Automated tests at WavWonder protect observable software behavior, external contracts, and mathematical invariants so packages can evolve without silent regressions.

What tests verify

Focus test coverage on durable properties that remain true across internal refactoring:

  • Public contracts: Expected inputs, outputs, validation failures, serialized file compatibility, and error handling across package boundaries.
  • Mathematical and system invariants: Isolation of masked or padded inputs, finite numeric values under boundary inputs, zero overlap between training and held-out dataset splits, reproducible outputs under fixed seeds, idempotent retries, and state recovery after interruption.
  • Domain state transitions: Valid state transitions and edge cases that static type checking cannot enforce.

Fast and isolated execution

Separate everyday unit and contract tests from heavy external dependencies:

  • Unit and contract tests: Run offline on workstation CPU using small synthetic inputs and deterministic seeds, without depending on downloaded corpora, checkpoints, network services, or accelerators.
  • Integration tests: Isolate slow tests requiring external services, real audio corpora, checkpoints, browsers, or GPUs behind the package test runner’s native grouping mechanism so they run explicitly on demand.

Type to search…

↑↓ navigate↵ selectEsc close