node.js - Getting started with nightwatch.js -
node.js - Getting started with nightwatch.js -
can provide me detailed explanation on how setup nightwatch , start writing browser tests? have searched such info online , unable find it. nightwatch.js website had info various nightwatch command line commands, not setting nightwatch project, having problem with.
specifically, not have understanding of various files come installation of nightwatch, , how supposed utilize them.
you need basiclly two things:
thenightwatch.json
file in root of project and nightwatch
installed (npm install -g nightwatch
). after utilize on command line as described in documentation here , automatically grab nightwatch.json
file , run tests based on default
test_setting
.
i opened an issue add together nightwatch init
command, setup of nightwatch.json
file easier.
nightwatch.json
github repository node.js nightwatch.js
Comments
Post a Comment