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
-
V12 / 5.576 cc / 385 PS / 406 ft/lb (550 Nm) @ 4.000 / 0 - 62 mph (100 km/h): 6,6 s / Vmax: 155 mph (250 km/h) (click images for a larger ...
-
S4 / 1.984 cc / 200 PS / 207 ft/lb (280 Nm) @ 1.700 - 5.000 / turbo / AWD (click images for a larger view)
-
Brooklyn-based artists Adam Eckstrom and Lauren Was collected $35,000 in lottery tickets and built a Hummer H3 Art Car. The piece is called ...
-
Finally got the time to post this. Layered Architecture Solution Guidance 1.0.0.5 is now available for download . This version comes with s...
-
On Friday nights, I watch a DVD from either the Life or Planet Earth series. In one very-special Planet Earth episode, walruses had to pro...
-
I got to drive the Mitsubishi iMiev a couple of weeks ago for a mile or so at Green Drive Expo in Richmond. I was much impressed with the ca...
-
The revival clearly continues apace at Jaguar - one of Britain's most historic and industrially important car manufacturers. Far from re...
-
Hmm... Let's see.... what's in the box?! :) Oooo! My cutie Hello Kitties (and Dear Daniels). Was looking for them for the past few ...
-
V8 / 3.990 cc / 110 PS (click images for a larger view)
-
that is the best investment I've heard of, this car was just bought for 8 million in 2000, and in 1996 for 3.5 million... it's also ...
No comments:
Post a Comment