Skip to content

Latest commit

 

History

History
54 lines (29 loc) · 815 Bytes

Readme.md

File metadata and controls

54 lines (29 loc) · 815 Bytes

Slides

Launch local talk/index.html or use the online http://fayway.github.io/ComponentsTesting/

Demo

Prerequisites

  • Install Node >= 4
  • Clone this repo
  • Install dependencies
$ cd projectfolder
$ npm install

Code Before and After Refactoring

MVC/Template Based Design

$ git checkout -b templates templates

Components Based Design

$ git checkout master

Internal server (with LiveReload)

$ npm run serve

Navigate to http://localhost:8080/

Tests

Some tests need compiled RequireJS modules

$ npm run compile

Running CLI test

$ npm test

Browser tests

Navigate to http://localhost:8080/test