iamchrismiller / grunt-casper

Run CasperJS Scripts/Functional Tests
Other
69 stars 38 forks source link

Adds possibility to pass options through cli #42

Open thisisui opened 10 years ago

thisisui commented 10 years ago

We can take Cli options and send them to our tests, sometimes it is quicker to send values through command line than through gruntfile options. I think this is a good approach to give a second option.

iamchrismiller commented 10 years ago

I will look at merging this in soon. If you supply a test it will be merged much quicker and I won't have to write one :)

thisisui commented 10 years ago

ok, I think that I will have some time in the weekend so I will be able to write it :)

thisisui commented 10 years ago

Sorry but I haven't got time to do this. I am wondering is my approach good, because the parameters which it accepts can be passed to grunt task and they don't have to be connected with casper but casper will try to put it into spawnOpts. Please take a look are you really want your plugin to go that way and if not you can remove my pull request.