MSBuild Should not fail even if one specific NUnit test fail -
i have integrated continuous build process cruise control. @ eod, generates build report. if nunit test cases fail, build fails. have written 1 specific test case , added in separate dll. don't want our build fail if test case in assembly fails. using msbuild target, .proj files , cruise control, ccnet config file.
i call nunit 2 times: once tests want fail build if don't pass, second time run tests results don't want affect build, e.g.,
<!-- failing tests in assembly1.dll cause build fail. --> <exec command="nunit.exe assembly1.dll" /> <!-- failing tests in assembly2.dll won't fail build because continueonerror attribute set true. --> <exec command="nunit.exe assembly2.dll" continueonerror="true" />
Comments
Post a Comment