Hi: I\'ve enjoyed playing around with Pex and Moles...now it\'s time to use it in earnest to cover an legacy app as much as possible.
Our team is working on writing unit tests for a .Net project. We use “Visual St开发者_如何学JAVAudio 2010” IDE, “NUnit” (v. 2.5.9) unit-testing framework, and “Microsoft Moles” type-isolating fr
I\'m开发者_如何学编程 using quartz.NET inside a scheduler project (class library) on my application, this is because i want the other projects to be agnostic of the actual implementation. In the futur
I\'m trying to mole the method Assembly.GetEntryAssembly but it appears that only stub types are generated for the System.Reflection namespace i.e.
I have a table called Subscriptions. I\'d like to redirect any LINQ select from that table to a Moles lambda so that only 3 rows are returned from that table -- basically I want to bypass the call to
I\'m using Moles for mocking. The other day I built a Moles assembly for a reference that has many partial classes in it. The generated Moles assembly seems to have two classes that are built out of开
The Moles documentation describes how to raise events on class stubs but the same method doesn\'t work with a full Mole. You开发者_Python百科 can add a delegate to the add / remove methods, but you ca
I have the folowing tests: [TestClass] public class GeneralTest { [TestMethod] public void VerifyAppDomainHasConfigurationSettings()
I know there is TypeMock and JustMock, but both are commercial products and quite expensive. Are there free开发者_JS百科 or open source mocking frameworks that can compete with the two?
How can I mole the DataContext that I\'m using in a class to write messages to a table. I\'d like to assert that the table LINQ is writing to has the expected count of messages. Here\'s what i have so