Hmm, the real fix would be to determine why the NUnit tests are hanging... But, in lieu of that optimal solution, here is a sample build that demonstrates a step timeout strategy. The sample uses Notepad.exe as the "NUnit test" so you'll need to do a little work to adapt it to NUnit...
Note: this sample demonstrates some advanced features of Visual Build Professional and uses WMI. These advanced VBP features include: scripting, Subroutines, Step script events (vbld_StepDone), use of the vbld_FSO script object, script in a conditional build rule, and more...
Last edited by kevina; 12-07-2004 at 11:25 AM.
|