On 17/03/2020 13:55, Amar Takhar wrote:

On 2020-03-17 06:52 +0100, Sebastian Huber wrote:
So you would not use test classes to group tests for a specific class?
No I would not typically grouping tests involves keeping them in separate files.
You gain no advantage to keeping them all in one large file.  You can also use
directory structures to do this as well.

Ok, what would be a recommendation for the guidelines? Something like this:

Place tests for a module in a directory. Use individual test files for tests related to a particular class or functionality, e.g. module/test_xyz.py.

OR

Use individual test files for tests related to a particular class or functionality. Include the module name in the test file names, e.g. test_module_xyz.py.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to