Opened 7 years ago
Closed 5 months ago
#12013 closed Developer Task (Unverified)
Unit test suites can only be run all at once.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - General | Version: | Unspecified |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
This pull allows the unit test suite suites to be run individually, while also allowing the the main script to run them all at once as is current functionality.
This is based on the current convention that unit test are in a directory like "test_<name>" so the script will now allow usage like:
./unittest.sh mythmetadata
and also
./unittest.sh
to run all of them.
This makes it alot easier to see what you're changing in unit tests, and whether they pass or not. As there gets to be more unit tests, running them all at once will be a lengthy piece of work.
Note: See
TracTickets for help on using
tickets.
Closing all old tickets in trac.
If your issue still persists, please open an issue in Github https://github.com/MythTV/mythtv/issues
and reference the existing trac ticket.