Repository navigation
Debugging py.test
Don Jayamanne edited this page Aug 17, 2016
·
3 revisions
- Create a file named xyz.py in the root directory
- Add the following code
import pytest
pytest.main()- Add a break point in you test method (the test method you wish to debug)
- Start debugging