caolan / caolan/nodeunit

Running the same test file multiple times ignores it’s setUp function

Aperta
#133 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
1.9k
Fork
359
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When passing the same file multiple times to the nodeunit executable, the tests indeed run multiple times, but the setUp function is just called the first time.

Demonstration:
https://github.com/fsvehla/nodeunit-bug-multiple-runs

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.