First time here? Check out the FAQ!

Revision history  [back]

If you want to launch these tests like a regular debug/execute process then you may need to create an Named Entry Point from the Debug menu to pair the launch configuration with the file name and debug/execute that. Or bring up the file you want to debug in the editor and use Debug Current File in the Debug menu. The green arrow will start the main entry point if one is set.

If instead you are trying to run the test in the Testing tool, you can Add Current File to get the other file into the Testing tool and then set its Test Framework to 'unittest' and its Environment to your launch configuration under the Testing tab of the file's Project Properties (right-click on its name or the editor to access that). I just tried that in a Django project and it worked, in addition to having in the Testing tool to run Django style tests.