1

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.

4
  • Perhaps this? But basically, save the configuration. Those greyed out tests are generally the result of your test suite keeping a temporary configuration. Commented Nov 30, 2020 at 11:13
  • @bad_coder Not sure what you are talking about... Commented Nov 30, 2020 at 16:03
  • 1
    @NamGVU Please try to update the template under Templates directory (under the last Test:... configuration on your screenshot) Commented Dec 7, 2020 at 19:22
  • @user2235698 I see. Updating the Template working for me. Please post it as an answer to get accepted Commented Dec 8, 2020 at 16:48

1 Answer 1

3

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

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you! That's what I'm looking for!
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!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.