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

NUnit Transformation

The purpose of the NUnit transformation is to create a Class with test methods for all public methods of an existing .Net compatible Class. The resulting Class can then be generated and the tests filled out and run by NUnit.

Example

The C# model originally transformed from the PIM:

PSM_CS

After transformation becomes the PSM:

psm_nunit

Notes

Note that for each Class in the C# model, a corresponding test Class has been created. Each of these test Classes contains a test method for every public method in the source Class, plus the methods required to appropriately set up the tests. It is your responsibility to fill in the details of each test

Learn more