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
-
Santa Monica AltFuel Expo was by all standard measure an overwhelming success. Thousands packed the hangar to meander through exhibits by c...
-
4 x V8 / 27.204 cc (4 x 6.801) / supercharger / AWD / Vmax: 406,6 mph (654 km/h) / World Record 1960 (click images for a larger view)
-
* ah .. a R... a RH...ChoOOO!!!* * a R-ChoOO!!!* * a R-ChoOO!!!* *phnnnnggggt* I've been sneezing all day. *rubbing my red nose*. I deci...
-
I 'm currently preparing the second edition of my Application Architecture workshop which is a revision to the previous Application Arch...
-
O ne of the most common question that developers have when they see Windows Presentation Foundation (WPF) is "How does it affect my Win...
-
The Porsche 991 family has just got bigger as the first images of the four-wheel drive Carrera 4 and Carrera 4S models in both coupe and co...
-
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 ...
-
Lynda Farley is the creator of the Liberty van, and doing her part to creatively express her First Amendment Rights . Lynda believes in the ...
-
W anna add more 'kick' to your SQL Server 2005? Enter Feature Pack for Microsoft SQL Server 2005 - November 2005 - a suite of packa...
-
At the upcoming Paris Auto Show , Toyota's luxury brand will bring a new concept coupe named the LF-CC that not only previews the stylin...
No comments:
Post a Comment