2
我有一个在“Visual Studio测试”任务中运行Xunit测试的VSTS版本。这在我运行所有测试时工作正常。用某些特性运行xunit测试
但是,我想运行只有特定性状的测试。
我曾尝试输入值“类别=单元测试”变成了“测试筛选条件”字段中的任务,但这样做会产生编译错误:
Error: [xUnit.net 00:00:12.9299360] N1.Common.Testing: Exception discovering tests: No tests matched the filter because it contains one or more properties that are not valid (Category). Specify filter expression containing valid properties (DisplayName, FullyQualifiedName) and try again.
您是否找到了解决方案?我也遇到了麻烦 – MichelZ