Opened 5 years ago

#12013 new Developer Task

Unit test suites can only be run all at once.

Reported by: mythtv-dev@… 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.

https://github.com/MythTV/mythtv/pull/65

Change History (0)

Note: See TracTickets for help on using tickets.