【发布时间】:2014-12-06 08:52:42
【问题描述】:
我有一个构建良好的测试项目。我正在尝试使用 mstest 运行测试。这是我正在执行的命令:
命令:
echo mstest.exe /testcontainer:SecurityLogging.Tests\Logging.Tests.dll /resultsfile:%TEST_LOG_ROOT%\Execute_%TestListNode%_1.trx /detail:Owner /detail:Description /nologo /testsettings:Logging.Tests\Local.testsettings /category:"^!E2E&^!Stress&^!Perf"
我的测试失败了。如果我再检查错误级别。它仍然是 0。我做到了:
if %errorlevel%==0 (
continue;
)
而且它一直在继续。
我正在使用 Visual Studio 2010。我开始挖掘并发现了这个:
http://www.mail-archive.com/ccnet-user@googlegroups.com/msg03027.html
谢谢
【问题讨论】:
-
也许如果您删除了
ECHO- 或者这是一个转录错误?
标签: visual-studio-2010 mstest errorlevel