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
How do you execute custom code at compile time? Is there an attribute you can use to markup a static method which is then executed on each build?
I\'m running Pex 1.4.40602.0.When I try to run Pex on an internal\" type I get a \"The selected type is not visible and cannot be run by Pex.\" error dialog.I have tried to place the following command
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 am using Moles in a unit test to redirect calls to a logging application block (a wrapped version of the EntLib), and its working for some methods but not all.
Has anyone got this working? I\'m having trouble using the moles runner with the xunit console and getting the XML output to a file. I\'m using the following:
I am having a problem getting a couple of the static methods in my class to be moled, as well as getting the Diagnostics attribute in the .moles file to be recognized.
Given the following conditions: a very old, big, C# legacy code base with no testcoverage whatsoever (almost) every class derives from some interface
I have had a persistent problem with Visual Studio 2010 and any framework version reporting this error, after adding a test project: