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:

the nightwatch.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.

further reading how setup nightwatch.json github repository

node.js nightwatch.js

Comments

Popular posts from this blog

ruby on rails - Devise Logout Error in RoR -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

model view controller - MVC Rails Planning -