Running Python unittest with PyCharm and command line options

I ran my unit tests Python 2.7 such as

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 parameter to the PyCharm Tester. I tried many settings in Run / Debug configurations without success.

How to configure unit tests to run in PyCharm so that every time I run "Unittests in test" it starts with the -b argument?

Unittests

+4
source share

All Articles