AlexC
AlexC

Reputation: 3914

Disable automatically starting unit tests in PyCharm

With the latest version of PyCharm, every time I make a change, PyCharm automatically runs my unit tests for me. Much of the time, this is very convenient. Sometimes, however, I need to turn this feature off, so that my tests only run when I explicitly invoke them. How can I do that?

Upvotes: 1

Views: 1984

Answers (1)

sacherus
sacherus

Reputation: 2169

There was similar questions asked before: PyCharm - run a corresponding unit test each time a file is saved

Simply, turn off feature below green arrow on the left side.

From https://www.jetbrains.com/pycharm/help/test-runner-tab.html

"AutoTest Toggle auto-test If this button is pressed, the autotest-like runner is turned on. It means that the test in the current run configuration tab will automatically rerun on changing its source code. Otherwise, to rerun such test, you have to click the rerun button"

Upvotes: 1

Related Questions