Nosetests default configuration is not respected after upgrading to PyCharm 2017.1.2
In the default settings for Nosetests I have "Working directory" settings set with the path I want to be used when I run tests. When I launch a new test run from the Run dialog the configuration which is used to run it changes working directory to the one that contains the test file, thus ignoring the default setting. The problem is that I need to run tests from the same working directory as they depend on certain files available in it. This behavior is definitely different from PyCharm 2016.3.2 which I had installed before, that version respected my working directory setting and would build the test target name in accordance with it.
Is it a bug or intentional behavior change? If later, how can I set up a configuration to run tests from the same working directory without being have to manually edit configuration for every test I want to run?
请先登录再写评论。
Hello.
there is an issue and it is already fixed in 2017.1.3 and 2017.2 : https://youtrack.jetbrains.com/issue/PY-23872