cowboy/grunt — pull request #197 by johnbender (2012-05-22 22:34:02+00:00)
Title: Configure Phantomjs/Qunit test timeout value

This pull request allows for configuring the phantomjs timeout value on individual qunit tests. Example config:

```javascript
grunt.initConfig({
qunit: {
all: ['foo/*']
},

phantomjs: {
timeout: 10000
}
});
```

The pr is mostly a proof of concept for a couple reasons:

1. It would be nice to put the timeout value in the qunit config but I believe multitasks assume config options are file globs? (not at all sure here)
2. It's reasonable to expect the value to be set in seconds and not miliseconds.
3. Getting the config value out of the global config at the point of the command line for the phantom helper is a bit janky. Also I'm not sure how you set defaults internally.

Anyway, we need this for some longer running tests in the jqm test suite. I'm happy to help and change this as necessary. Also I understand completely if this isn't something you want to bother with!

Thanks.