[Build 67] unit tests are broken

Hi,

My unit tests don't work with teh testrunner anymore. It seems test runner in build 67 copies the tests to an out folder and can't find the referenced assemblies of the test project anymore. This includes the assemblies containing the methods I want to test at all as well as assemblies used in my tests iteself (for example I use the UnitContainer in one test, same issue here to)
This is the exception that is display for me as test result.

Test method <TESTMETHOD> threw exception:
System.IO.FileNotFoundException: Could not load file or assembly 'ASSEMBLY CONTAINING METHOD THAT SHOULD BE TESTES' or one of its dependencies. The system cannot find the file specified.=== Pre-bind state information ===
LOG: User = MYUSERNAME
LOG: DisplayName = ASSEMBLY DISPLAY NAME
(Fully-specified)
LOG: Appbase = file:///<PROJECT PATH>/bin/x86/Debug/TestResults/<USERNAME_PCNAME> 2012-06-15 16_08_39/Out
LOG: Initial PrivatePath = NULL
Calling assembly : ASSEMBLY NAME.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files (x86)\JetBrains\ReSharper\v7.0\Bin\JetBrains.ReSharper.TaskRunner.CLR4.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).

I played around with the setting "create shadow copy for tests" but that made no difference.

Regards
Sven

1 comment
Comment actions Permalink

the tests are running fine with build #68 again :)

0

Please sign in to leave a comment.