jerry-git / jerry-git/pytest-split

pytest-split test collection is not compatible with pytest-testmon

Aperta
#93 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
325
Fork
56
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Is pytest-split compatible with pytest-testmon?

I want ro run all tests in groups (using pytest-split) and then use testmon to run only the affected tests inside those groups.
Testmon said no files have changed (no affected tests) but is pytest-split is running all tests anyways:

testmon: **changed files: 0**, unchanged files: 456, environment: default
rootdir: /Users/marcodicro/src/repo
configfile: test/project/pytest.ini
plugins: flaky-3.8.1, testmon-2.1.1, split-0.8.2
collecting 5771 items

[pytest-split] Splitting tests with algorithm: duration_based_chunks
[pytest-split] Running group 1/25 (estimated duration: 231.00s)

collected 5772 items / 5541 deselected / **231 selected**

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reproducing the pytest collection shown in the issue with test/project/pytest.ini and the listed pytest-split and pytest-testmon plugins. Inspect how collection and deselection interact, then verify that affected tests are selected within each split group while unchanged tests remain excluded.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
testing
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
32/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.