question: can I filter which tests run?
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.9k
- Forks
- 359
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, node.js
- Bereich
- testing
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100