How do I run only Test 3 from the following tests?
Test 3
module.exports = { 'Test 1':function(){}, 'Test 2':function(){} 'Test 3':function(){} }
A new parameter --testcase has been added to run a specified testcase.
nightwatch.js --test testsdemo.js --testcase "Test 1"
It's a new feature since the v0.6.0
https://github.com/beatfactor/nightwatch/releases/tag/v0.6.0
1.4m articles
1.4m replys
5 comments
57.0k users