Hi all,
Â
Since switching to Visual Studio 2012, we've found a few issues with TestDriven.Net 3.4 Enterprise build 2808 (with NUnit 2.6.2.12296).
Â
First of all, the extremely useful "Test with Performance"Â command no longer works. When selecting this from the editor context menu for a test, instrumentation starts as expected, but then no tests are executed (0 Passed, 0 Failed, 0 Skipped). (VS is running as admin.)
Â
Then, when selecting multiple test projects and running them all together using the configured shortcut key for "Run Test(s)", sometimes the selection "shrinks" to one of the projects just before TestDriven.Net runs the tests. This results in just one project's tests being run rather than all the selected projects' tests.
Â
When, after changing some code, selecting a solution folder and then pressing the configured shortcut key for "Run Test(s)", TestDriven.Net will sometimes not cause all dependent code to be built, running the test on old code. I.e., when I change test or implementation code so that at least one test must fail, the test sometimes still succeeds! Only when I manually build and rerun does the test fail. (Number of parallel builds has no effect on this behavior.) This has bitten us a few times, so that we had to stop using this idiom.
Â
When, after changing some code, selecting a solution folder and then using the context menu to select "Run Test(s)", TestDriven.Net will quite reproducably say that it cannot find a certain assembly the tests depend upon: "Can't find assembly for project 'TypePipe.Core'." (Indeed, the build output shows that this wasn't built.) This goes away when I set the number of parallel builds to 1, but this makes the build slower, in general.
Â
And lastly, though this definitely isn't an issue caused by TestDriven.Net, the NUnit 2.6 test runner coming with TestDriven.Net 3.4 build 2808 is not compatible with NUnit 2.6.2 (the TestContext doesn't work any more when using an older test runner due to a change in NUnit). Please consider publishing a release with updated test runners soon.
Â
Thanks, best regards,
Fabian