Run unit tests in random order

Aperta
#162 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
72/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, python
Ambito
ci-cd, testing

Direzione di ricerca

Start with pyproject.toml and .github/workflows/ci.yml to see how pytest is configured and how CI runs the unit tests. Read CONTRIBUTING.md before commenting that you are taking the issue. Add randomized test ordering in CI and fix any order-dependent tests; done means unit tests pass in a random order on every CI run.

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

Descrizione

area: ci good first issue size: XS tests
Context

Tests that only pass in file order hide shared state, the very thing Meridian forbids in its trials.

What to do

Add pytest-randomly (or run with -p random_order) in CI and fix any test that depends on order.

Done when

Unit tests pass in a random order on every CI run.

Where to look

pyproject.toml, .github/workflows/ci.yml


New here? Read CONTRIBUTING.md and comment on this issue to say you are taking it.


Generated by Claude Code

Lingua principale
Python
Stelle
0
Fork
0
Merge medio
1h 54m
PR unite (30g)
14

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di patsypppe/meridian

Tutte le issue di patsypppe/meridian

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.