ronaldlokers / grunt-casperjs

Grunt task for casperjs
MIT License
104 stars 51 forks source link

Add option to run tests in parallel #16

Closed evansolomon closed 11 years ago

evansolomon commented 11 years ago

For test that are unrelated, it would be better to let them run in parallel than wait for them to run in series. This adds an option to run the tests in parallel with an option setting like:

options: {
  async: {
    parallel: true
  }
}

The async option is deleted before the options object is passed to casperjs(), since I believe those are all supposed to be Casper/Phantom options.

kylejaster commented 11 years ago

@evansolomon - what's status of this: how can I help?

would love to see this make it into casperjs :thumbsup:

evansolomon commented 11 years ago

I think it's in @ronaldlokers' court. It's up to him whether or not he wants to merge it. I just rebased my branch onto master, so it's still a clean merge.

kylejaster commented 11 years ago

thanks for the quick response - @ronaldlokers - would love to see this: how can I help?

TechNickAI commented 11 years ago

Hi guys - thanks for the code, and the offers to help. I reached out to @ronaldlokers and got npm publish access. I just pushed 1.0.7, which has this and other changes.

kylejaster commented 11 years ago

:thumbsup: : !!!!!