Add some traits
This commit is contained in:
@@ -10,15 +10,18 @@ namespace SampleTestAssembly
|
||||
public class Class1
|
||||
{
|
||||
[Fact]
|
||||
[Trait("TraitName1", "TraitValue1")]
|
||||
public void Pass() { }
|
||||
|
||||
[Fact]
|
||||
[Trait("TraitName1", "TraitValue2")]
|
||||
public void Fail()
|
||||
{
|
||||
Assert.True(false);
|
||||
}
|
||||
|
||||
[Fact(Skip = "Testing")]
|
||||
[Trait("TraitName2", "TraitValue2")]
|
||||
public void Skip() { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user