As per Dan North / Chris Matts / Liz Keogh (JBehave), best practice when writing testcases is to use public method names that begin ‘should’ rather than ‘test’. e.g. ‘should_save_customer_details’ instead of ‘test_database’, as it encourages developers to describe what their code should do.
In Python / unittest, we achieve this by decorating the method with @unittest.TestCase.subTest.
However, this (and related decorator @omni.kit.test.AsyncTestCase.subTest) don’t currently work within the Omniverse test framework. That is, @omni.kit.test.AsyncTestCase.subTest exists and one can use it, but it doesn’t cause the method to be added to TestRunner - the annotation is silently ignored.
The workaround is to continue to prefix the method name with ‘test_’ as per the third example.