Bug 8189 - Subtests aren't supported in our unit tests
Summary: Subtests aren't supported in our unit tests
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Automatic tests (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-11 14:22 CEST by Pierre Ossman
Modified: 2023-08-08 13:07 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2023-07-11 14:22:59 CEST
Modern Python unittest has a feature called "subtests" where you can easily separate multiple variants of a test:

https://docs.python.org/3/library/unittest.html#distinguishing-test-iterations-using-subtests

Our Python is new enough for this, but unfortunately our nosetest isn't.

We are still on the original nosetest, which has been abandoned for some time. The most obvious successor should be nose2:

https://github.com/nose-devs/nose2

Note You need to log in before you can comment on or make changes to this bug.