Skip to content
haleyyoung edited this page Dec 11, 2013 · 1 revision

We used Express for API testing and Zombie.js for front-end testing.

  • Node is asynchronous so we were having issues with our tests sometimes passing and sometimes failing depending on which calls returned first, so we used the "series" functionality to run calls in a specific order within a single test.

  • Zombie.js allows us to grab specific html elements of a page and make sure they're actually physcially on the page once it loads.

    • We have 6 passing and 3 failing tests for the front-end
    • To run the front-end tests, go to your chuzr git directory, then in /web-client run mocha from the commandline

Clone this wiki locally