guardian/frontend — pull request #1477 by ironsidevsquincy (2013-08-28 10:44:39+00:00)
Title: Grunt jasmine task

Added a task to grunt to run our jasmine tests in casperjs

Things aren't exactly peachy in common, as some test really on html fixtures that aren't in the runner anymore, or don't clean up after themselves so states bleed into other tests, but individual tests seem to run ok - task to get all tests running
Admin's pretty much there, but looks like there's some tests that never worked...

To run all

```grunt test:unit```

Or just common/admin

```grunt test:unit:common```
```grunt test:unit:admin```

Or single spec

```grunt test:unit:common --spec CommentCount```