kvas-it / pytest-console-scripts

Pytest plugin for testing console scripts
MIT License
78 stars 14 forks source link

Add option to suppress printing script run results - fix #41 #42

Closed kvas-it closed 3 years ago

kvas-it commented 3 years ago

This PR implements both the command line option (--hide-run-results) and the keyword argument for script_runner.run(). See README.md for more info.

kvas-it commented 3 years ago

My only comment is, would you want to do the same for the print('# Running console script:', command, *arguments)? I'm not opposed either way.

Yeah, makes sense. Done.

geoffrey464 commented 3 years ago

Looks good! Everything is quiet now when suppressing the console output. Thanks for working with me on this one!