Visual studio 2010 如何使用mstest在teamcity中运行基于类别的测试

Visual studio 2010 如何使用mstest在teamcity中运行基于类别的测试,visual-studio-2010,testing,selenium,mstest,teamcity,Visual Studio 2010,Testing,Selenium,Mstest,Teamcity,我正在使用此设置在teamcity中使用mstest运行vstest 程序集列表:Z:\Test\Tests\bin\Debug\Test.dll/类别:“abc测试” 在teamcity中使用mstest运行vstest时出现以下错误 Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path) at System.IO.Path.IsPathRooted(String path)

我正在使用此设置在teamcity中使用mstest运行vstest 程序集列表:Z:\Test\Tests\bin\Debug\Test.dll/类别:“abc测试”

在teamcity中使用mstest运行vstest时出现以下错误

Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.IsPathRooted(String path)
   at JetBrains.TeamCity.Utils.FileUtil.MakeFullPath(String path, String workDir) in c:\Agent\work\2f9f8fe94ae5352e\src\Utils\src\FileUtil.cs:line 40
   at JetBrains.TeamCity.MSTestSupport.Executable.MSTestTargetGenerator.ForEachNewLine(ArrayList argz, String items, String KEY, Boolean fullPath) in c:\Agent\work\2f9f8fe94ae5352e\src\MSTestSupport\src\Executable\MSTestTargetGenerator.cs:line 95
   at JetBrains.TeamCity.MSTestSupport.Executable.MSTestTargetGenerator.GenerateMSTestCommand(IMSTestExeArguments msTestArgs, String resultsFile) in c:\Agent\work\2f9f8fe94ae5352e\src\MSTestSupport\src\Executable\MSTestTargetGenerator.cs:line 61
   at JetBrains.TeamCity.MSTestSupport.Executable.MSTestTargetGenerator.GenerateTargetContent(IMSTestExeArguments mstestArgs) in c:\Agent\work\2f9f8fe94ae5352e\src\MSTestSupport\src\Executable\MSTestTargetGenerator.cs:line 45
   at JetBrains.TeamCity.MSTestSupport.Executable.MSTestExeTestRunnerFactory.CreateRunner(ITestRunArguments args) in c:\Agent\work\2f9f8fe94ae5352e\src\MSTestSupport\src\Executable\MSTestExeTestRunnerFactory.cs:line 29
   at JetBrains.BuildServer.NAntLoggers.RunnerFactory.FindTestRunner(ITestRunArguments arguments) in c:\Agent\work\2f9f8fe94ae5352e\src\NUnitBootstrap\src\RunnerFactory.cs:line 45
   at JetBrains.BuildServer.NAntLoggers.RunnerFactory.CreateTestRunner(ITestRunArguments arguments) in c:\Agent\work\2f9f8fe94ae5352e\src\NUnitBootstrap\src\RunnerFactory.cs:line 30
   at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.Run2(String[] args) in c:\Agent\work\2f9f8fe94ae5352e\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 88
   at JetBrains.BuildServer.NAntLoggers.NUnitLauncher2.Run(String[] args) in c:\Agent\work\2f9f8fe94ae5352e\src\NUnitBootstrap\src\NUnitLauncher2.cs:line 50

您应该在其他命令行参数:字段中指定您的
/category
参数。

“/category:[类别名称]]”如何排除类别?