When Tests Lie
I'm in VS.Net, writing tests, crunching code; all tests pass, I'm in the green zone, ready to Refactor. Then I decide to drop to Nant and see how my test coverage is. And the tests doesn't work. I've a couple of tests (the ones exersizing the most complex part of the code, naturally) that pass in VS.Net, but fail in NAnt, or when I use them with the console / gui test tool.
Only in Visual Studio.Net + TestDriven.Net they are working. I can't really figure out the reason for this, as far as I can tell, it's has something to do with the currently directory. I'm going to write some tests to change the current directory in VS.Net and see if this makes any difference.
Comments
Comment preview