Books
-
Recent Posts
Archives
Categories
- .NET Core (1)
- ActivityDesigner (5)
- AngularJs (7)
- Architecture Features (1)
- ASP.Net (24)
- Entity Framework (3)
- ASP.Net 4.5 (6)
- Azure (16)
- Book (6)
- C# (22)
- C# 4.0 (4)
- Cognitive Services (1)
- Contest (5)
- DevOps (1)
- EnvDTE (3)
- feature Builder (1)
- General (8)
- Google (3)
- HTML5 (20)
- IDE (3)
- IE (3)
- IIS (1)
- jQuery (3)
- LightSwitch (1)
- LINQ (2)
- Load Test (5)
- Lync Server 2010 (2)
- Microsoft (21)
- MVC (7)
- Node (2)
- Office (5)
- Open XML (1)
- performance Test (6)
- Pex and Moles (3)
- Site Review (2)
- SQL (6)
- TFS (18)
- Tools (6)
- UI (1)
- Uncategorized (26)
- Visual Studio (18)
- Visual Studio 2015 (12)
- Visual Studio 2010 (15)
- WCF (1)
- Visual Studio 2011 (4)
- Metro App (1)
- Visual Studio 2012 (14)
- Visual Studio 2013 (5)
- VSTS 2010 (12)
- LightSwitch (1)
- VSTS 2011 (3)
- WebMatrix (2)
- WF (9)
- WF4 (20)
- Windows (11)
- Windows 8 App (8)
- Windows Phone 7 (1)
- WPF (9)
Meta
Blog Stats
- 155,141 hits
Category Archives: Pex and Moles
Pex and Moles
Moles are another Visual Studio add-in along with Pex. We already discussed about Pex, how to create Unit test using Pex and Parameterized Unit tests in another article. For more details, please refer http://www.dotnetfunda.com/articles/article1311-method-delegate-using-moles-.aspx
Exception message: Microsoft.Moles.Framework.Moles.MoleInvalidOperationException: Moles requires tests to be an instrumented process
If you are new to Pex & moles like me, you may encounter this exception while mocking any property. I have mocked one of our Dictionary and received this exception. The cause is missing one attribute on the test method. … Continue reading
Unit Test creation using Pex
Pex is one of the Visual Studio add-in that provides a runtime code analysis tool for .NET Framework code. The output of the Pex helps you understand the behavior of the code, and it also builds automated tests with high … Continue reading