I have a test framework where all my tests have to be kicked off using a particular executable(say M). All my tests are written in python(I have eclipse configured with pydev) . Currently I run my tests are run thru cmdline like:
$ M -test <test_file_name>.<testcase_name> How do I configure eclipse run configuration so I can actually do run /debug from eclipse? I am not able able to find any documentation that tells me if I can use the "Program Arguments" in the run/debug configuration to set this up?
Best How To :
PyDev always will run with the python executable you configure in the interpreter preferences (so, if you want to run with a different executable, it'll only work if it's a program that is configured in the interpreter preferences and that can launch any python script -- as does the regular interpreter).
If that's not your case, what you can do is configure an external tool to make the run (run > external tools > external tools configurations > program) and then use it to run.
Now, if your executable does work as a python executable (or if you're running with Python itself) see:
Getting started on how to run a program: http://pydev.org/manual_101_run.html
How to run a unittest: http://pydev.org/manual_adv_pyunit.html