Add Unit Test Support

PowerDesigner provides a UnitTest.NET Extended Model Definition to generate unit test files.

  1. Verify that the current model has the target language C# 2.0 or Visual Basic 2005, and includes an extended model definition for either ADO.NET, ADO.NET CF, or Nhibernate.
  2. Select Model > Extended Model Definitions .
  3. In the List of Extended Model Definitions, click the Import tool.
  4. Select UnitTest.NET or UnitTest.NET CF in the Unit Test sub-tab, and then click OK to return to the model.

You can also select the UnitTest.NET (UnitTest.NET CF) or Extended Model Definition when creating an OOM by clicking the Extended Model Definitions tab in the New dialog, clicking the Unit Test sub-tab, and selecting the appropriate checkbox.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com