I got a question from a colleague who was used to MSTest and now was switching to XUnit.
For tests that were not implemented yet, he was using the Assert.Inconclusive method in MSTest but he couldn't find a similar Assert method for XUnit.
I typically use the 'Skip' property for this in XUnit:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Fact(Skip = "Not implemented yet")] | |
public void Test_That_Is_Not_Ready() | |
{ | |
//Add your implementation here | |
} |