Running Python unittest with PyCharm and command line options

Viewed 674

I've been running my Python 2.7 unit tests like this

python -m unittest discover -s tests -b  

I would like to run them in PyCharm, however, I cannot figure out how to send the -b buffer option to the PyCharm test runner. I've tried numerous setups in the Run/Debug Configurations without success.

How do I configure running unit tests in PyCharm so that every time I run 'Unittests in test' it is run with the -b argument?

Unittests

0 Answers
Related