mojotech / pioneer

Integration Testing
MIT License
527 stars 35 forks source link

Clean up logging #302

Closed tomhicks-bsf closed 9 years ago

tomhicks-bsf commented 9 years ago

The test run should not output anything except that which is written by the reporter (e.g. pioneerformat.js, Cucumber JSON reporter, etc.). Currently, pioneer writes some information about the config file as well as test timing, which gets in the way when you want to pipe the result of a reporter into a file, for example.

I've moved the duration reporting inside the pioneerformat file, and only write the config file information when a verbose flag is set.

samccone commented 9 years ago

this is great @tomhicks-bsf thanks!

samccone commented 9 years ago

lets set verbose to true in the scaffold file https://github.com/mojotech/pioneer/blob/master/src/scaffold/example.json

tomhicks-bsf commented 9 years ago

Had to do a bit more than expected to allow it to be set in the config file and via the command line. I wasn't quite sure how to get down the "'No configuration path specified'" code path but I reckon it'll be OK.