Loving AutoTest.Net, but I came across an issue with the Nunit test runner, NUnit 2.5.8, and (perhaps) my machine (64-bit Windows 7). For some reason, when ReadToEnd() is called, the process will suspend indefinitely.
I was able to get it to work, but only by replacing the ReadToEnd() call with a ReadLine() call that checks the line. Once it finds the last expected line from NUnit, it will bail before the next read (which will cause the suspension). Here is that change: http://bit.ly/fRodqw
I don't feel like what I did is a full solution, though. The best solution would be one that properly uses the process without the chance of suspending the thread. But, I couldn't find a solution there. Any ideas?
Loving AutoTest.Net, but I came across an issue with the Nunit test runner, NUnit 2.5.8, and (perhaps) my machine (64-bit Windows 7). For some reason, when ReadToEnd() is called, the process will suspend indefinitely.
I was able to get it to work, but only by replacing the ReadToEnd() call with a ReadLine() call that checks the line. Once it finds the last expected line from NUnit, it will bail before the next read (which will cause the suspension). Here is that change: http://bit.ly/fRodqw
I don't feel like what I did is a full solution, though. The best solution would be one that properly uses the process without the chance of suspending the thread. But, I couldn't find a solution there. Any ideas?