Issue
i have installed the pytest framework.
i am able to run the testcases using the following command.
py.test -q test_class.py
How to run the same test using eclipse?
Solution
From eclipse Window->Preferences --> pydev --> PyUnit --> Change the Test runner to "Py.test runner".
Right Click over the file. Run As --> Python Unit-Test
Or press Ctrl+F9:-
It will prompt you to select the test
Answered By - Deca
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.