Pex - Automated Whitebox Testing for .NET : Issue Tracking And Generated Tests
Pex copies any unknown attribute that is marking the parameterized test to the generated test. Therefore, issue/project tracking attributes are automatically propagated to the generated unit test.


// fixture type
[TestClass, PexClass]
public partial class MyTest {
    [CssProjectStructure("xxx"), CssIteration("yyy")]
    [WorkItem(1), WorkItem(2)]
    public void Foo(int i) {...}

// generated tests
public partial class MyTest {
    public void Foo_1234() { ... }

See Also

PexMethodAttribute, PexClassAttribute, TestClassAttribute, PexIgnoreAttribute
(c) Microsoft Corporation. All rights reserved. pex Wiki Documentation 0.93.50813.0