Run unit tests in random order

Abierto
#162 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
72/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, python
Área
ci-cd, testing

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
0
Forks
0
Merge medio
1 h 54 min
PR fusionados (30 d)
14

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de patsypppe/meridian

Todos los issues de patsypppe/meridian

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.