/gametime-testing-journey

Primary LanguageJavaScriptMIT LicenseMIT

Game Time testing

This project contains branches covering different levels of testing.

  • Clone or fork this repo
  • Check out any of the following branches
  • Check out the README for the lesson
  1. background
  2. mocha-syntax
  3. basic-tests
  4. separating-logic
  5. unit-tests-and-the-dom
  6. sinon
  7. after-gametime

Game Time Starter Kit

To install the dependencies:

npm install

To fire up a development server:

npm start

Once the server is running, you can visit:

  • http://localhost:8080/webpack-dev-server/ to run your application.
  • http://localhost:8080/webpack-dev-server/test.html to run your test suite in the browser.

To build the static files:

npm run build

To run tests in Node:

npm test