Skip to content

stinethebean3/nightwatch-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nightwatch Example Project

https://github.com/stinebean3/nightwatch-examples

About

This is an example repo to help you get started with testing using Nightwatch.js.

Included is a "test.js" file containing a set of example tests against google.com as well as a "Makefile" to set everything up and run the test for you.

In order to create your own Nightwatch project, feel free to "fork" or copy these files to get you started and adjust "test.js" to write tests for your own projects.

Dependencies

  • Java
  • node.js
  • npm
  • firefox

Set-up

  1. Clone repo
git clone https://github.com/stinethebean3/nightwatch-examples
cd nightwatch-examples
  1. Install dependencies
make install

Testing

  1. View/edit test.js
vim test.js
  1. Run the tests
make test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published