As a relative outsider looking in, it seems to me that oe-selftest has grown beyond the capabilities of unittest. I think we could benefit from some of the more sophisticated features of a framework like pytest. Some highlights worth investigating: * Fixtures: https://pytest.org/en/7.4.x/how-to/fixtures.html * Live logging: https://pytest.org/en/7.4.x/how-to/logging.html#live-logs * Parameterization: https://pytest.org/en/7.4.x/how-to/parametrize.html#basic-pytest-generate-tests-example However, I don't know if it is realistically possible to make the migration in any reasonable amount of time...
Does pytest support concurrent execution? There are several plugins apparently so we'd need to pick on. Getting someone time to work on it is a challenge.
https://pypi.org/project/pytest-xdist/ is probably the best known of the concurrent execution plugins.