caolan / caolan/nodeunit

Can I run only one method in a testcase?

Aperta
#70 1 commento 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

Test case example as follows (mytest.js):

exports["test1f"] = function(test){
test.expect(1);
test.ok(true, "this assertion should pass");
test.done();
};

exports["test2"] = function(test){
test.ok(true, "this assertion should pass");
test.done();
};

I hope that I can run test2 only like this:

nodeunit test.js test2

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.