2011-02-08 2 views
4

チーム設定でmstestを使用してこの設定を使用しています アセンブリリスト:Z:\ Test \ Tests \ bin \ Debug \ Test.dll /カテゴリ: "abcテスト"mstestを使用してチームシティのカテゴリに基づいてテストを実行する方法

チームシティーで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 

答えて

4

を実行中に次のエラーを取得するあなたは追加のコマンドラインパラメータであなたの/category parametrを指定する必要があります。フィールド

+0

" /カテゴリ:[名前をあなたのカテゴリの。] " – IbrarMumtaz

関連する問題