jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 243 forks source link

Add --timeout CLI option. #158

Closed ysbaddaden closed 10 years ago

ysbaddaden commented 10 years ago

There was no option to control the timeout of test suite run time. This is now fixed for both PhantomJS and Selenium drivers:

teaspoon --timeout 200

I'm unsure if passing options as a third argument is the best solution. Maybe :timeout should be passed with `driver_cli_option instead?

jejacks0n commented 10 years ago

I'll look into this more this afternoon. Thanks. =)