Financial-Times/polyfill-service — pull request #105 by triblondon (2014-09-24 20:53:47+00:00)
Title: Test framework

An inital stab at a test framework. Tests the bundler module in node, and then runs mocha to test the polyfills. Currently initiated with `grunt dev`, which does this:

* Runs `grunt-mocha-simple` to test the server
* Concurrently, runs the server with nodemon, and runs grunt-mocha
* Grunt-mocha loads each polyfill's test URL in turn (test URLs are pages generated by the service, which constructs a mocha test page with the polyfill, a feature detect and any tests saved with the polyfill)
* Results printed to the console

Output looks like:

![image](https://cloud.githubusercontent.com/assets/1735391/4395608/bc84c0f2-442c-11e4-90f6-832e5fa7adaf.png)

Obviously we ideally want to run this in Sauce, and using real browsers rather than Phantom. What do you think Jonathan?