Run tests for installed packages

Abierto
#155 8 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
testing

Línea de trabajo

Start with UnitTestingLoader and the inherited unittest.TestLoader.discover behavior described in the issue, then inspect how unittesting.json files are loaded. Use the resource system to verify discovery of tests inside installed packages, and confirm that installed-package tests can run and the minor configuration-loading issues are handled.

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

Descripción

Currently, UnitTesting cannot run tests that are inside installed packages.

This would allow package authors to verify that their tests run when the package is installed. End users could also more easily troubleshoot their installed packages.

This is mostly because it inherits the discover method of unittest.TestLoader, which uses the filesystem directly. We could reimplement discover in UnitTestingLoader to use the resource system instead. In principle, this should work for our use case, because every test suite that UnitTesting can find should be accessible as a resource.

There are also a couple of minor issues, such as the way that unittesting.json files are loaded.

I'm working on an implementation.

Lenguaje dominante
Python
Estrellas
113
Forks
32
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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 SublimeText/UnitTesting

Todos los issues de SublimeText/UnitTesting

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.