I\'m trying to use Pex to test some code. I have an abstract class with four concrete implementations.I have created factory methods for each of the four concrete types. I had also created one for the
I\'m trying to get our team to use Moles and Stubs primarily to Mole out static classes.One thing I need to find out is do I have to install moles and stubs using the installation program on my build
I am using Entity Framework 4.1 for database access and would like to Unit Test the following code: // Get all the entities including children
I want to replace behavior of Environment.GetFo开发者_开发百科lderPath in my unittest, but after generation moles for System assembly, System.Moles assembly does not contain definition of type MEnviro
I am building (yet another) Windows Service, using TDD and Moles.This projec开发者_运维问答t includes extensions to System.Dagnostics.EventLog, tot include details of the input parameter Exception obj
I had class Voo { private static AnotherClass Doo(int id) { //do some stuff with id then return object of AnotherClass
How is it possible to call a delegated Method only once / one time with moles? MyClass.AllInstances.ResultateGet = delegate { return new ResultatInfoColle开发者_如何学Pythonction(); };
I have been trying using Pex in a F# project but I have faced several issues on which I would appreciate some help:
I have a C# application compiled with visual studio. I want 开发者_开发技巧to intercept and log calls and serialized method parameters to some specific methods in that app. Is it possible to intercept
I\'m trying to wrote a pex test, and I noticed that it always was feeding a false value as one of the params that I wanted. My test looked like this (simplified: there are/were more params, but otherw