[PATCH 2/2] Add a message to run 'pytest' to run rest of test suite.

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Mar 16 08:34:53 UTC 2020


On 16/03/2020 00:57, Amar Takhar wrote:

> On 2020-03-16 09:20 +1100, Chris Johns wrote:
>> Is pytest installed by default?
> No.  It's a separate package the Python has 'unittest' which is shipped by
> default.  For our usage pyttest is more flexible and will create concise code
> that is easy to contribute to.  The biggest reason is that it's more suited to
> our use.

 From the website pytest requires Python 3.5+ and PyPy 3. This is not a 
problem for me in general. We still would like to be compatible to 
Python 2.7, how can we run the tests in such an environment with pytest?

What is the relationship to the standard Python unittest module? Do you 
want to write the tests with unittest and run them with pytest?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200316/20ca1450/attachment.html>


More information about the devel mailing list