jejacks0n / teaspoon

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

DEPRECATION WARNING! on istanbul coverage report #268

Closed kunalmawade closed 9 years ago

kunalmawade commented 10 years ago

screen shot 2014-09-29 at 2 34 44 pm When teaspoon --coverage=default is executed, teaspoon generates coverage and displays above warning on console. The teaspoon version is 0.8.0 and istanbul version is 0.3.2. It looks like teaspoon does not pass arguments in right order to istanbul.

siva3395 commented 10 years ago

Deprecation warning on latest version of teaspoon also? on upgrading teaspoon version i had an issue. Can you help me? here it is https://github.com/modeset/teaspoon/issues/267

kunalmawade commented 10 years ago

Found the solution. This statement should be this way result = %x{#{@executable} report --include=#{input.shellescape} --dir #{output_path} #{format} 2>&1} I tested it and it does not throw deprecation warning after that.

siva3395 commented 10 years ago

'--include=' also fixed on my 0.7.9 version!!!! thanks @kunalmawade

jejacks0n commented 9 years ago

this should be fixed now.