This project is read-only.

Trait

Since version 1.8, the Trait element provides a generalized approach to setting named properties on any test case or group of test-cases, using a name/value pair.

In the example below, the test is given a severity value of high and a debug-tip of run in SSMS.
<test name="...">
    <trait name="severity">high</trait>
    <trait name="debug-tip">run in SSMS</trait>
    ....
</test>

These traits are not used for any purpose by the framework itself but are displayed in the report generated by NUnit and available in the Test Properties dialog of the gui.

Last edited Oct 30, 2014 at 12:03 AM by Seddryck, version 1

Comments

No comments yet.