Changes between Version 90 and Version 91 of j2p


Ignore:
Timestamp:
06/18/24 16:44:40 (5 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • j2p

    v90 v91  
    186186}}}
    187187
     188== Unit Tests, @Test
     189In 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.
     190The 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.
    188191
    189192