Avoiding Automatic Addition of UnitTest Configurations

I'm working in a project with a fair number of python files; each containing their own unit tests.  I love that you can run the unit tests for the current file by using the context menu or Ctrl-Shift-R, but is there a way to prevent it from automatically adding that configuration to the list of configurations in the toolbar?  I'm running tests through so many files that it means I end up with a large number of one-off configurations that I have to periodically clear out.

Thanks for any help!

I'm on PyCharm 2.5.2 by the way: Build PY-117.563

2 comments
Comment actions Permalink

Actually the number of such "one-off" configuration is limited to 5 by default; older configurations are automatically deleted. You can change the limit under Run | Edit Configurations... | Temporary configurations limit.

0
Comment actions Permalink

Thanks Dmitry, I see it now.   I missed it when scanning through all the options earlier because I had to select the Default tree root to see the option, and it's way down at the bottom of the window.  I now have a better understanding of how PyCharm works with temporary configurations, so thanks for that!

0

Please sign in to leave a comment.