I have been having a problem with Mole types not working in static constructors. I have created two simple examples to explain the problem:
I\'m trying to generate a moles assembly for NHibernate.dll using the executable that comes with the download, but the generated code comes with some build errors that I don\'t know how to fix (if it\
I am looking for a way to \'detour\' a single item in a configuration file with Moles. I can do this:
The scenario I have is pretty common, one nuget package is using V1.0 and another is using V1.1 so I had to add a Binding Redirect. However, the moles runner appears to be ignoring the binding redirec
I added Moles to a project in VS2010, decided I didn\'t want to use it and then removed the Moles reference and the .behaviours and .moles assemblies. The problem is that I repeatedl开发者_运维知识库y
Is there a way to mole/stub/mock a method with the params keyword? Here is an example of the Method I am trying to mole/stub:
Moles can be used in two ways: Manually Including [assembly: MoledType(typeof(_type_to_instrument))] Specify [HostType(\"Moles\")]
I\'ve installed Pex & moles and was trying to follow the tutorial but couldnt add a new items --> moles to th开发者_StackOverflow社区e test project for some reason
I\'ve just started to use Moles to mock some tricky legacy code.In essence, I\'m trying get a SqlDataAdapter to work with Moles.(BTW, I\'ve been successful using moles with the SqlDataReader and SqlCo
I need to not only swap implementation but also to add necessary check 开发者_运维问答to make sure that certain methods were called in the right order. I can imagine something like Mole + Mock would g