- Use
gitto clone thisws_eventsrepository (or if that's not possible download a zip - you should prefer and aim to usegitfrom now on), e.g:
git clone https://github.com/portsoc/ws_events.git- From your new local
ws_eventsfolder, openindex.htmlin a browser to see which tests fail. - Edit
index.js; improving and adding code until all the tests pass. - The tests are all defined in
test.jsapp. Look at this file (but dont' change it) to understand exacty how the code you write is being automatically exercised.
For the purpose of keeping the tests as atomic as possible we have requested that you create several 'attacher' functions. In real apps it is likely that various attachers will be grouped together during program initialisation.