Please note : This help page is for an older version of Enteprise Archtiect. The latest help can be found here.

NUnit Transformation

The NUnit transformation converts an existing .Net compatible 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 NUnit.

Example

The C# elements (originally transformed from the PIM)

PSM_CS

 

After transformation, become the PSM elements

psm_nunit

Notes

·For each Class in the C# 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