Smocks: Can't run tests
Hi,
I’m having some trouble testing some really old legacy code, and I wonder if you could assist me.
Whenever i try to run a simple test i get this error Mono.Cecil.AssemblyResolutionException : Failed to resolve assembly: '<MyTestDll>'
The code throwing the error is as simple as this:
var r = Smock.Run(context =>
{
context.Setup(() => It.IsAny<RouteData>()).Returns(() => null);
return new ViewContext().IsOnController("TestController");
});
i’m new to Smocks, so I can be missing something but it just seems strange that it fails resolved the actual test dll.
Any help will be greatly appreciated.
Cheers
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 20 (11 by maintainers)
Status update: due to some career changes, I haven’t been able to dedicate a lot of time to Smocks the past few months. I hope to find some more time to resolve issues shortly.
I will need a minimal, complete example that illustrates the problem in order to resolve it. Perhaps you can put together a (minimal) complete solution that exhibits the issue, and upload that somewhere?