Changes between Version 42 and Version 43 of pyrunner
- Timestamp:
- 09/04/24 16:42:49 (3 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pyrunner
v42 v43 105 105 We recommend then to set a breakpoint using {{{b /ABSOLUTE/PATH/TO/YOURMODULE.py:LINENR}}} instead of debugging the entire runTest code. And then use 'c' to continue to the breakpoint. 106 106 107 108 Theoretically, for debugging you would need to **install** pytest ({{{sudo apt install python3-pytest}}}) after which you can do {{{pytest-3 --trace path/to/YOURTESTCLASS.py}}}. Unfortunately there seems a bug in pytest-3 and it does not debugat the first test. This makes this approach mostly useless.109 107 {{{#!td style="background: #fee" 108 Theoretically, for debugging you would need to **install** pytest ({{{sudo apt install python3-pytest}}}) after which you can do {{{pytest-3 --trace path/to/YOURTESTCLASS.py}}}. Unfortunately there seems a bug in pytest-3 and it does not break at the first test. This makes this approach mostly useless. 109 }}}