[elbe-devel] [PATCH 00/10] pytest for testing

Benedikt Spranger b.spranger at linutronix.de
Tue Mar 12 15:36:37 CET 2024


Am Mon, 11 Mar 2024 18:02:53 +0100
schrieb Thomas Weißschuh <thomas.weissschuh at linutronix.de>:

> Fully switch over the testsuite to pytest and drop the custom runner.
> 
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
> ---
> Thomas Weißschuh (10):
>       contrib: use correct distribution for development version
>       elbepack: properly shut down async logging
>       elbepack: pytest: mark test_xml as slow
>       elbepack: test: show exception output
>       debian: use pytest during debuild
>       elbepack: test_preproc; switch to pytest APIs
>       elbepack: test_doctest; switch to pytest APIs
>       elbepack: test_flake8; switch to pytest APIs
>       elbepack: test_xml; switch to pytest APIs
>       elbepack: test: remove custom testrunner
> 
>  conftest.py                     |  21 +++++
>  contrib/dpkg-changelog-ci-entry |   3 +-
>  debian/control                  |   5 +-
>  debian/rules                    |   2 +-
>  elbepack/commands/test.py       | 194 +---------------------------------------
>  elbepack/log.py                 |   8 ++
>  elbepack/shellhelper.py         |  10 +--
>  elbepack/tests/test_doctest.py  |  17 ++--
>  elbepack/tests/test_flake8.py   |  35 ++++----
>  elbepack/tests/test_preproc.py  |  27 +++---
>  elbepack/tests/test_xml.py      | 133 ++++++++++++---------------
>  11 files changed, 139 insertions(+), 316 deletions(-)
> ---
> base-commit: cfe5e2242603758819d0b0d80d3fa40db0091591
> change-id: 20240307-pytest-0885fac9a7e8

For the series:
Reviewed-by: Benedikt Spranger <b.spranger at linutronix.de>


More information about the elbe-devel mailing list