jejacks0n / teaspoon

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

Coverage being written into output file #183

Closed DannyJF closed 10 years ago

DannyJF commented 10 years ago

When writing output to a file and running code coverage, the code coverage console output gets written to the file.

Example: bundle exec teaspoon -f junit>tmp/output.xml --coverage-reports=lcov

This affects 0.7.9. I apologize if this was already reported and I missed it looking through previous issues.

jejacks0n commented 10 years ago

Two things:

first, the output to a file is only in master. second, you would have to wrap the --format="junit>tmp/output.xml" in a string -- otherwise you're piping everything to that file -- as it's a standard shell way to do that.