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
-
I'm a sexy mix between the The Multi-tasker and the All-the-Timer/Compulsive/Voracious/Anything Goes Reader. What are you? What Kind ...
-
Sort of Breadvan-ish lines on the new Ferrari FF. A very nice looking touring car for sure.
-
Well, the cat is almost completely out of the bag as Honda released a comprehensive image gallery along with the sales dates and fuel econom...
-
Here is the work of the Technical and Vocational Institute at the Arab Academy (for Science and Technology and Maritime Transport) in Alexan...
-
V12 / 4.996 cc / 280 PS / 339 lb/ft (460 Nm) @ 4.000 (click images for a larger view)
-
So, I stumbled upon StumbleUpon. I know, tardy to the party. And I stumbled upon this incredible piece about what love is. The Definition of...
-
We were both delighted and a little bit miffed to see this sight on Aberdeen's Holburn Street. We'll deal with the downside first. T...
-
Panoramic Picture of the underside of a Cadillac?? via I never thought that a panoramic picture of the underside of a Cadillac would be so a...
-
Neverwas Haul at Burning Man Its the week before Maker Faire and I want to dedicate this week to all the cool art vehicles that will be att...
-
Looks like GM's imminent bankruptcy will result in the US government holding a 70% stake. NY Times
No comments:
Post a Comment