Miscellaneous Metadata
The following attributes allow you to control various other aspects of test execution.
TestProperty Attribute
The TestProperty
attribute allows arbitrary metadata to be associated with a test method. For example, you could use it to store the name of a test pass that this test covers by decorating the test method with [TestProperty("TestPass", "Accessibility")]
. Unlike the Silverlight UTF for the browser and the Visual Studio desktop CLR unit testing tools, the Windows Phone UTF does not display TestProperty
information within the test harness.
Ignore Attribute
The Ignore
attribute can be used to temporarily exclude a specific test from execution. This can be useful for excluding a test that is blocking other tests from ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.