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
-
N ow that my hubby (notebook) is ok, my ex (Presario 1700) has decided to die. According to my parents (the proud inheritors of the unit), i...
-
M y Streamyx was down for approximately five days. The technician told me that it is a problem with my port over in their headquarters. Acco...
-
It's one thing to read about a Prius powering a home during a blackout. Check out this video showing an unexpected benefit to the torc,...
-
OTAVI (Ghana) Enoch Afudego, a 39-year old Ghanaian mechanic has successfully assembled a saloon car. The car, which he named OTAVI, had the...
-
Will be held at my dining room table because I'm sick. I am also drafting this entry with one of my Christmas gifts-the Livescribe smart...
-
News for Racers first slot truck to show today.
-
I 'm almost done with the slides for my Application and Services Architecture Workshop which I will be conducting two weeks later for a...
-
S8 / 6.876 cc / 265 PS / 374 ft/lb (507 Nm) @ 2.000 / Vmax: 116 mph (187 km/h) (click images for a larger view)
No comments:
Post a Comment