0

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.

Nam G VU
  • 33,193
  • 69
  • 233
  • 372
  • Perhaps [this](https://stackoverflow.com/questions/6397063)? But basically, save the configuration. Those greyed out tests are generally the result of your test suite keeping a temporary configuration. – bad_coder Nov 30 '20 at 11:13
  • @bad_coder Not sure what you are talking about... – Nam G VU Nov 30 '20 at 16:03
  • 1
    @NamGVU Please try to update the template under Templates directory (under the last `Test:...` configuration on your screenshot) – user2235698 Dec 07 '20 at 19:22
  • @user2235698 I see. Updating the Template working for me. Please post it as an answer to get accepted – Nam G VU Dec 08 '20 at 16:48

1 Answers1

2

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

user2235698
  • 7,053
  • 1
  • 19
  • 27
  • Thank you! That's what I'm looking for! – Nam G VU Dec 15 '20 at 15:25
  • This only work for current opened project. How to set it pycharm-wise aka ide-wise i.e. running new test in other project will share same modified template. Any hint is appreciated! – Nam G VU Dec 15 '20 at 15:26