I recently updated some code on a project that contains some unit tests. To verify that everything is working well, I executed the unit tests and they were failing but when I executed them in Debug mode - they all passed. The unit tests seem to fail only in Run mode and not in Debug mode.
I can't figure out what went wrong until I discovered this. Apparently, when Code Coverage is enabled, the assemblies don't seem to get updated after compilation. To solve the issue, disable Code Coverage and everything will work just fine.
Unit tests are some of the things that most fresh developers would complain about - labeling it being tedious and waste of time. This silly Visual Studio bug really didn't do much in helping the situation. Amazingly, it still exists in Visual Studio 2010 SP1.
Home » Visual Studio » Unit Tests Gone Nuts
Popular Post
-
V8 / 4.200 cc / 440 PS / 347 lb/ft (470 Nm) @ 2.700 Vmax: 185 mph (300 km/h) (click images for a larger view)
-
S4 / 1.984 cc / 200 PS / 207 ft/lb (280 Nm) @ 1.700 - 5.000 / turbo / AWD (click images for a larger view)
-
The Carrera of America booth at IHobby 2010 in Rosemont, Ill. There are a number of new cars on display including the new F1's, new Asto...
-
Busy as hell these days...so while I'm working; please check out this beautiful and dreamy cover by Mint Julep of Headphones ' I Ne...
-
We first heard about Chrylser's plug-in car plans at the end of September. Less than two months later Chrysler's EV guy Lou Rhodes h...
-
Morning, Friends! If you haven't checked out Kindle Fire Department yet and you own a Kindle Fire, you are not human. I'm TELLING YO...
-
This site will feature both realistic and science fiction concept vehicle renders. It is a companion to the CONCEPTSHIPS and the CONCEPTROB...
No comments:
Post a Comment