Project

General

Profile

Actions

Idea #21207

closed

Decide and implement a modern way to run Python tests

Added by Brett Smith about 1 year ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Start date:
05/10/2024
Due date:
Story points:
-
Release:
Release relationship:
Auto

Description

Running setup.py test is deprecated. We should decide and implement a new way to run tests.

Probably the most straightforward migration would be to set up tox. The simplest commands could install our test dependencies and run python -m unittest.

We may get benefits like nicer test reporting if we switch to a front-end like pytest. At least some of them natively support unittest-style tests.


Files

21207-killed-retrying.txt (20.1 KB) 21207-killed-retrying.txt Tom Clegg, 05/06/2024 08:43 PM

Subtasks 1 (0 open1 closed)

Task #21733: Review 21207-pytestResolvedBrett Smith05/10/2024Actions

Related issues

Related to Arvados - Idea #20723: Stop running setup.py in our build+test infrastructureNewActions
Actions

Also available in: Atom PDF