-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
In g2p and everyvoice, we have tests under <REPO>/<projectroot>/tests, but in Studio we have them directly under <REPO>/test.
The way we've installed them, the standard python -m unittest invocation cannot be used to run a class or a single function, instead we have to one or more files at a time in our unusual custom way.
Tasks:
- Move tests under
readalongs/tests - change the import of basic_test_case and sound_swallower_stub to proper relative import, i.e.,
from .basic_test_case import ... - address other dependencies we had to the current file structure
- exclude
readalongs/testsfrom wheel and dist, the way everyvoice does, so they don't bloat our published wheels - replace
test/run.pybyrun_tests.pyat the root like in g2p - make sure code coverage analysis excludes
readalongs/tests/ - Update the documentation on how to run the tests
Metadata
Metadata
Assignees
Labels
No labels