question: can I filter which tests run?
- Langage dominant
- JavaScript
- Étoiles
- 1.9k
- Forks
- 359
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
My build scripts are currently using nodeunit.reporters["default"].run() to run tests against a list of files.
Is it possible to only run some tests within a file? Ultimately I'd like to be able to only run tests that failed in the past run. I see I can track which tests failed, so I'd like to pass that list so only those tests run on the next attempt.
The reason is my tests are slow :) I have a lot of integration tests, and with my workflow I usually just want to run those few tests first.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start by reading the nodeunit.reporters["default"].run() entry point described in the issue and trace how it receives the list of test files. Determine whether selecting tests within a file and rerunning a supplied list of previously failed tests can be specified without breaking existing runs. Done means the requested filtering behavior is defined and verified for slow integration-test workflows.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, node.js
- Domaine
- testing
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 20/100