Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Add exclude argument to VUnit cli

Abierto
#1,143 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
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
cli, testing

Línea de trabajo

Start with the CLI test filtering code in test_ui.py, especially test_filtering_tests, which the issue identifies as covering attribute arguments. Check how existing test_patterns, --with-attribute, and --without-attribute are tested, then determine how exclusion should combine with them. Done means the CLI accepts --exclude and tests show it excludes selected testcases while preserving the remaining filters.

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

Descripción

Enhancement

I would like to add a CLI argument that allows users to exclude some testcases, while still running all the other cases. This would still be compatible with the already implemented test_patterns.

For example:
python run.py <testcases-to_run> --exclude <testcases-to-exclude>

This feature would be helpful to me and I imagine this could also help others.

I have a clear idea on how to implement it, but I am wondering how I should be tested it properly. Should this be integrated into the already existing test_filtering_tests function in test_ui.py; which tests the attribute arguments. This would be an extension of this function that properly tests the combination of test_pattern, --exclude, --with-attribute and --without-attribute.
Or should it be a separated into a new testcase in test_ui.py.
I am personally in favor of expanding the test_filtering_tests function as these 4 arguments affect the test list. Are there any other tests that should be modified or added to test this new feature?

Lenguaje dominante
VHDL
Estrellas
850
Forks
305
Merge medio
2 d 10 h
PR fusionados (30 d)
7

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 VUnit/vunit

Todos los issues de VUnit/vunit

Issues similares

Más issues de CLI

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.