Можно ли запустить только один тест из тестового файла nodeunit с несколькими тестами. Мой tests.js
файл:
module.exports = {
test2: function (test) {
console.log ("test2")
test.done();
},
test1: function (test) {
console.log ("test1")
test.done();
}
};
Я могу запустить все тесты:
$ nodeunit tests.js
Но я хочу запустить только test2, например:
$ nodeunit tests.js test2
Можно ли не разбивать файл tests.js
на 2 отдельных файла?