[pytest-dev] Grouping tests

Christoph Zwerschke cito at online.de
Fri Mar 27 14:38:46 EDT 2020

Hi all, I hope this is the right place to ask the following.

I am currently using https://github.com/ropez/pytest-describe to group 
tests in a large test suite because it looks nicer than using classes 
and looks more like the tests in the JavaScript library that I am 
recreating in Python. Also, when using classes, tests methods will need 
an additional "self". And I'm not sure whether they can be nested.

Unfortunately, pytest-describe has gotten rusty, and there are  issues 
(e.g. https://github.com/ropez/pytest-describe/issues/26) which need 
help by some pytest experts.

Is someone here interested in working on this and keeping 
pytest-describe alive and compatible with newer pytest versions?

Otherwise, any alternative suggestions for grouping tests nicely?

-- Christoph

More information about the pytest-dev mailing list