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
-
There needs to be a book called Carpooling for dummies written by art car central that helps people drive and park in around swimmin...
-
go full screen on the below video found on http://www.jalopyjournal.com/?p=16967 famed auto designer Daniel Simon to pen up a concept and ...
-
If you were 3 years old, what car do you want your parents to own? It's not an easy question to ask a 3 year old as there answers are l...
-
Global warming to go into reverse? The BBC reports today on a new scientific study that purports to show that changes in the Sun's outp...
-
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 ...
-
Aston Martin has today confirmed the company's intention to revive the historic British Lagonda marque. In a statement announcing the n...
-
Talks in Brussels between troubled banking group RBS and the EU have raised the prospect that the group's major motoring brands Direct L...
-
The Bubble Truck is a modified 2001 Dodge Ram 1500 extended cab pickup truck "sculptured" with a variety of ornaments and other d...
-
Here's our undercover agent "Codename JannieJumbo" cycling about maintaining his legend as an 'activist' within the so...
-
you can see these excerpts and a couple more in the free PDF of a couple pages at http://images.bookdepository.co.uk/assets/images/content/...
No comments:
Post a Comment