docs: document how to run the test suite locally
Los mantenedores suelen responder en 2 días
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- documentation, testing
Línea de trabajo
Comienza con la documentación para contributors o de desarrollo y, después, inspecciona la configuración de pytest del repositorio y el flujo de trabajo de CI para confirmar los comandos establecidos y la configuración de dependencias. Documenta la instalación de dependencias, las ejecuciones completas y enfocadas de pytest, los motivos de los tests omitidos y dónde se encuentra la configuración de tests de CI; el trabajo estará terminado cuando un nuevo contributor pueda reproducir localmente las comprobaciones relevantes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
When working on a test contribution, I had to inspect the repository's test configuration and CI workflow to determine how to run the same test suite locally.
The project has an established pytest-based test suite, but as a new contributor, I initially had to investigate the repository configuration to understand the expected local testing workflow.
Proposed documentation
Add a short section to the contributor/development documentation explaining:
- how to install the test dependencies
- how to run the complete test suite
- how to run a specific test file
- how to run a focused test using pytest's
-koption - why some tests may be skipped
- where contributors can find the CI test configuration
Who this is for
This is intended for new contributors making their first test-related change who need to verify their changes locally before opening a pull request.
Why I am proposing this
This is based on a real point where I was confused during my test contribution. I had to inspect the project's test configuration and CI workflow to understand how local pytest execution related to the automated checks on a pull request.
- Lenguaje dominante
- Python
- Estrellas
- 760
- Forks
- 166
- Merge medio
- 4 d 3 h
- PR fusionados (30 d)
- 7
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de python-humanize/humanize
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
python-humanize/humanize#438 ·
Los mantenedores suelen responder en 2 días
-
intcomma returns scientific notation for large floatsPosiblemente ocupada @TheNetherWatcher la tomó hace 5 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
python-humanize/humanize#431 ·
Los mantenedores suelen responder en 2 días
-
metric() adds a digit when a value rounds into quettaPosiblemente ocupada @SashaMIT la tomó hace 6 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
python-humanize/humanize#423 ·
Los mantenedores suelen responder en 2 días
-
precisedelta() silently drops the sign of negative timedeltasPosiblemente ocupada @Mukller la tomó hace 44 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
python-humanize/humanize#379 ·
Los mantenedores suelen responder en 2 días
-
`naturalsize()` raises `ValueError` for custom format strings with textPosiblemente ocupada @Sanjays2402 la tomó hace 68 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
python-humanize/humanize#366 ·
Los mantenedores suelen responder en 2 días
Todos los issues de python-humanize/humanize
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Vector35/community-plugins#376 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
py-econometrics/pyfixest#1883 ·
Los mantenedores suelen responder en 1 día
-
bad links in rfc5890.htmlAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
ietf-tools/rfc2html#81 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
mysql/mysql-operator#60 ·
-
Python: Bug: split_plaintext_paragraph / split_markdown_paragraph can return a chunk larger than max_tokensPosiblemente ocupada @xThreeh la tomó hoy. Abiertopython triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
microsoft/semantic-kernel#14566 ·
Los mantenedores suelen responder en 4 días