I experimented with Rhino Mocks to unit test my .Net Compact Framework application and ran into a problem. I can get the basic unit test using Rhino Mocks, but every time I run a test that has Rhino Mocks code, the test fails because it cannot find the Rhino Mocks assembly.
System.TypeLoadException: Failed to load the Rhino.Mocks.MockRepository type from the Rhino.Mocks assembly ...
I copied the rhino mocks dll to different places on the device (the folder with my application and the created SmartDeviceTest folder), but it still cannot find it.
Has anyone used rhino with a compact skeleton and can point me in the right direction? Or, if that fails, can anyone suggest a mocking infrastructure that integrates and works with a compact infrastructure?
thanks
Matt
source
share