Back to Nunit

Description

docs/articles/nunit/writing-tests/attributes/description.md

latest504 B
Original Source

Description

The Description attribute is used to apply descriptive text to a Test, TestFixture or Assembly. The text appears in the XML output file.

Example

[!code-csharpDescriptionTestExample]

[!NOTE] The Test and TestFixture attributes continue to support an optional Description property. The Description attribute should be used for new applications. If both are used, the Description attribute takes precedence.