Search code examples
configurationpycharmdefaulttestrunconfig

How to save a test run config as default in Pycharm?


Currently for any test run, I have to keep adding the options --keepdb -v2 to the testrun configuration as below snapshot

enter image description here

How to save this as default for next test run?

p.s.

The google search leads to limitted helpful post here.

Search on our stackoverflow site results 0 result; related suggestion leads us to this closer post.


Solution

  • Please try to update the template under Templates directory (under the last Test:... configuration on your screenshot)