Archive for the ‘Testing’ Category

System.MissingMethodException when running unit test

Sometimes when I want to run my unit-tests, I get the MissingMethod exception. In general, this problem is usually caused by mismatch between the live code and executed test binary. Here are some things you could try: clean the solution and all output directories rebuild the solution refresh the test view change the active configuration [...]

VSPerfMon.exe vs unit-tests

I was stepping through one of my unit tests, and all of a sudden Visual Studio pops up an error: "The Visual Studio performance and coverage logging engine is already running on the computer. Therefore, the test run cannot continue. Close the pending performance or code coverage session and then rerun the tests" Hmm, I [...]

The location of the file or directory xxx is not trusted

Today, I tried to run my unit-tests as I always do, but all of a sudden I received an error: The location of the file or directory “moq.dll” is not trusted where the hell does this come from? I can’t remember having done anything special… anyway, I solved it by “unblocking” the file in Vista. [...]

Problemen met het schrijven van tests in VS2005TS onder Vista

Ik heb al behoorlijk wat gezeik gehad met Vista, en ik ben niet de enige… Nu dan de eerste dev gerelateerde, dus die wil ik jullie niet onthouden. Ik wilde vlijtig beginnen met het schrijven van unittestjes, en kreeg de volgende foutmelding: "Column 'TestType' does not belong to table test." Die melding slaat helemaal nergens [...]