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 ...
-
After I posted this 401 AMX in a gallery http://justacarguy.blogspot.com/2012/09/pierre-cardin-edition-of-401-amx-just.html , Ryan left a...
-
Coda has set the price for its new electric car: $44,900. After the federal tax credit, the cost drops to $37,400. In California, the only ...
-
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...
-
Photo: Diane Edwardson, August 21, 2011. Probably* native Cudweed is blooming on the slope where natives thrive below Adelbert. (Click on ...
-
Photo: Diane Edwardson, June 20, 2011. One of the phantoms left his mask at the Adelbert All-Weather Lounge. (Click on photo to enlarge.) ...
-
Photo: Diane Edwardson, October 16, 2011. Enough said. (Click on photo to enlarge.)
-
Hot Rod automobile concept by our friend Chris Matthews. Keywords: concept hot rod model t style vehicle concept 3d three dimensional render...
-
Photo: Diane Edwardson, February 18, 2012. Native California Black Walnuts are sprouting leaves on the Red Car Property. (Click on photo t...
No comments:
Post a Comment