Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

JUnit Transformation

The JUnit transformation converts an existing Java Class with public methods into a Class with a test method for each public method. The resulting Class can then be generated and the tests filled out and run by JUnit.


The Java model elements (originally transformed from the PIM)

After transformation, become the PSM elements


  • For each Class in the Java model, a corresponding Test Class has been created containing a test method for every public method in the source Class, plus the methods required to appropriately set up the tests; you fill in the details of each test

Learn more