[PATCH 2/2] Add a message to run 'pytest' to run rest of test suite.
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Mar 17 14:20:21 UTC 2020
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200317/78630930/attachment.html>
More information about the devel
mailing list