Seems like a silly question but I’ve been unable to figure it out…
I’d like to use eclipse/pyunit to run all my tests. I’ve configured the test runner to be the nose test runner.
Now I’d like for pyunit to use nose
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can right-click a folder/file and choose Run as > Python unittest or if you have the file open in an editor, you can use ‘Ctrl+F9’ to run the tests (and even filter to select the test(s) you want to run).
Note: for this to work with nose you have to select the nose test runner in the preferences (window > preferences > pydev > pyunit) — and the same is true if you’re using the py.test runner (but note that if you’re using regular unittest tests, the default runner should work fine).