nUnit 的 TeamCity 配置 运行
TeamCity configuarion for nUnit run
我在为 nUnit 运行 设置 TeamCity 时遇到问题,添加了以下行以编辑程序集文件。
"%system.NUNIT_EXE%"
"%env.ROOT_FOLDER%\FunctionalTests\bin\Debug\Test.dll" /nologo
/framework=4.0.30319 /labels /xml=c:\simulator\TestBox.xml
/fixture:Instron.Tests.Test_FunctionalTests
我在 运行 TeamCity 时收到错误消息。
Failed to parse TeamCity implicit arguments. Illegal characters in
path.
System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path)
at System.IO.Path.IsPathRooted(String path)
at JetBrains.TeamCity.Utils.FsScanner.RealFileSystem.IsPathAbsolute(String
path)
at
JetBrains.TeamCity.Utils.FsScanner.DirectoryScanner.ParsePattern(IFileSystem
fs,
Wildcard[] rootPrefix, Boolean caseSensitive, String pattern)
您可以在Administration
页面的项目设置中找到参数。使用 Add new parameter
按钮为您的构建添加参数。
检查 the official documentation 以获取更多信息。
我在为 nUnit 运行 设置 TeamCity 时遇到问题,添加了以下行以编辑程序集文件。
"%system.NUNIT_EXE%"
"%env.ROOT_FOLDER%\FunctionalTests\bin\Debug\Test.dll" /nologo
/framework=4.0.30319 /labels /xml=c:\simulator\TestBox.xml
/fixture:Instron.Tests.Test_FunctionalTests
我在 运行 TeamCity 时收到错误消息。
Failed to parse TeamCity implicit arguments. Illegal characters in path.
System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path)
at System.IO.Path.IsPathRooted(String path)
at JetBrains.TeamCity.Utils.FsScanner.RealFileSystem.IsPathAbsolute(String path)
at JetBrains.TeamCity.Utils.FsScanner.DirectoryScanner.ParsePattern(IFileSystem fs, Wildcard[] rootPrefix, Boolean caseSensitive, String pattern)
您可以在Administration
页面的项目设置中找到参数。使用 Add new parameter
按钮为您的构建添加参数。
检查 the official documentation 以获取更多信息。