pytest test runner green triangle set default directory
Dear community,
I like using the green triangle to start test functions. When running a function via the triangle the working directory is the directory of the file that contains the function. Can I configure the test runner to use the project root as the working directory when clicking the triangle?

Best Regards,
Michael
Thank you for your answer Andrey Resler.
My problem is that I have to change the working directory in the run configuration every time I create a new configuration via the triangle. Can I set a working directory that is used when a configuration is created by clicking the green triangle/run button?
请先登录再写评论。
Hi, you can change the working directory to any other using configuration templates