Changes between Version 90 and Version 91 of j2p
- Timestamp:
- 06/18/24 16:44:40 (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v90 v91 186 186 }}} 187 187 188 == Unit Tests, @Test 189 In python, a class with tests must textend {{{unittest.TestCase}}}. This allows discovery by the py test tools. However in java, there is no direct way to tell if a class contains tests. 190 The translator checks for @Test annotations in a class. If there is one, the class is assumed to be a test class and TestCase is added as a superclass to the test. 188 191 189 192