However it did take me a while to understand how to setup Jasmine for an Ext.js project, so I thought something could be done about this to make life simpler. So I created a new Grunt plugin:
It extends the grunt-contrib-jasmine so should be compatible with all options there, but it sets up a different template which just needs to know the location of the Ext framework and also any Ext.Loader.setPath() configurations.
To help show it and other ways to use Grunt on Ext.js projects I’ve setup an example Git project for people to clone and play with:
This project comes with a nice simple Grunt file and ONE Jasmine test. If you’re going to start testing, start tiny, don’t try cover your whole code base. If you can write this one unit test, let this be it!
I hope people find this useful and please feel free to give any feedback.