Changes between Version 30 and Version 31 of pyrunner
- Timestamp:
- 08/21/24 10:50:52 (8 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pyrunner
v30 v31 83 83 === Running/Debugging unitpy tests 84 84 If the unittests are using [wiki:unitpy], the test class does not need to extend TestCase and is by itself not discoverable. 85 If the test class was compiled with the j2p and the junit-t translator, then a bit of glue code has been added to your class. This glue code looks like this:85 If the test class was compiled with the j2p and the junit-t translator, then a bit of glue code has been added to your module. This glue code is an additional class like this: 86 86 {{{ 87 87 class Test(TestCase): … … 90 90 }}} 91 91 92 where YOURTESTCLASS is the name of the class containing your unityp tests. 93 92 94 If this glue code is there, or if you can add this glue code manually, you can use the normal procedure with {{{python -m unittest path.to.YOURTESTCLASS}}}. 93 95