dcfemtech / hackforgood-waba-map

DCFemTech Hack for Good 2016 - WABA Bike Map Project
MIT License
10 stars 9 forks source link

Tests #141

Closed axhon closed 2 months ago

axhon commented 7 years ago

this lets us do front-end tests!

The only prerequisite is to have java installed on your developer computer. Java is not needed on the production computer/server since tests are not being run there.

The 'postinstall' script will get the selenium server set up in the correct location so all one needs to do after pulling the repo and having java installed is: npm i && npm test to run all current tests.

For help on writing new tests I highly recommend reading nightwatch's dev guide. They are also separated by folders so I highly recommend following the current setup.

axhon commented 7 years ago

Right, getting travis working with this is the next step.

axhon commented 7 years ago

tests are passing, however, process won't end. Will investigate.

axhon commented 7 years ago

Green! My favorite color!