[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 05:52:31 UTC 2020


On 16/03/2020 21:49, Amar Takhar wrote:

> On 2020-03-16 21:21 +0100, Sebastian Huber wrote:
>>> https://lists.rtems.org/pipermail/devel/2020-March/058289.html
>> I converted an example test from unittest to pytest:
> There's no reason to use classes here you should use simple functions.
>
> Classes are only useful if you want to maintain a state using a setup or
> teardown.  Look at test_macro.py for an example of this.
So you would not use test classes to group tests for a specific class?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200317/30e04812/attachment.html>


More information about the devel mailing list