tableflip/sow-integration

Name: sow-integration

Owner: TABLEFLIP

Description: :pencil: more integration tests for school of wok

Created: 2015-07-10 15:30:34.0

Updated: 2016-03-01 20:56:48.0

Pushed: 2016-08-26 14:12:26.0

Homepage: null

Size: 37

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

School of Wok - Integration tests

Start up schoolofwok.co.uk, sow-backoffice, sow-api in NODE_ENV=test and run nightwatch tests against them.

Getting started
  1. Copy config/default.json to config/runtime.json

  2. Obtain the credentials for a SOW backoffice user and add to config/runtime.json

  3. Run the tests:

    n sow api, sow-backoffice, schoolofwok and start the integration tests
    test
    

N.B. You can start up all the servers without running the tests using npm start

Test specific suite

e.g.

TWATCH_TEST=test/nightwatch/book-class-promo.js npm test

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.