Interaction Based Testing
The 2nd Annual Google Test Automation Conference (GTAC) in New York on August 23 and 24, 2007. In the world of developer-facing automated tests, IBT is arguably one of the most controversial topics....
View ArticleMock Dialogue, Conversations on Testing and Mocking
Sit in like a fly on the wall with a development team as they wrestle with the issues of testing and the use of mock objects. Three acts cover using mock objects to remove dependencies on external...
View ArticleIntroduction to Mocking with Moq
In this episode we will learn how to use the Mocking framework Moq. This is an introductory overview of using Moq and is meant for those who are new to either mocking or Moq....
View ArticleIntroduction to the AutoMocking Container in StructureMap
In this episode you will take a look at how to use the AutoMocking Container that is part of StructureMap 2.5. You will be shown how to setup and use this container to reduce noise in your tests....
View ArticleIsolation Frameworks: Learning how to Stub & Fake Data
In this episode we are going to start learning how to use an isolation framework (Rhino Mocks) to help create simpler and more reliable unit tests. We will start off our learning experience by learning...
View ArticleIsolation Frameworks: Learning how to validate expectations
In this episode we are going to continue our series on learning how to use an isolation framework (Rhino Mocks) to help create simpler and more reliable unit tests. We will focus our learning this time...
View ArticlePowerMock
PowerMock can be used to test code normally regarded as untestable! Have you ever heard anyone say that you should never use static or final methods in your code because it makes them impossible to...
View ArticleInteraction Based Testing with Rhino Mocks
Beyond the simplest scenarios, all objects had collaborators that they work with. This flies in the face of testing objects in isolation. This is the problem that mock objects were created to solve. In...
View ArticleIsolation Frameworks: Mocking Out/Ref Arguments
In this episode we are going to continue our series on learning how to use an isolation framework (Rhino Mocks) to help create simpler and more reliable unit tests. We are going to focusing this...
View ArticleIsolation Frameworks: Learning to use Partial Mocks
In this episode we are going to continue our series on learning how to use an isolation framework (Rhino Mocks) to help create simpler and more reliable unit tests. This time around we are going to be...
View ArticleLearning how to use Manual Mocks for Testing
In this episode we are going to take a look at how to use manual mocks for testing. Often times when creating unit tests we need to work in isolation in order to cover the paths we are attempting to...
View ArticleMoles: Mocking the Un-Mockable
In this episode we are going to take at how to use Pex and Moles for .Net. Unit testing is great, but most free isolation frameworks require that your mocks implement an interface. But what do you do...
View ArticleMocks Suck (and what to do about it)
Mock Objects caught the developer imagination when they were introduced to the world in 2000 and there are mock object frameworks for almost as many languages as there are testing frameworks. Many...
View ArticleUse Setup Arguments with Moq
This tutorial shows how to use Setup parameters in the Returns of a mocked function using Moq. Moq (pronounced “Mock-you” or just “Mock”) is the only mocking library for .NET developed from scratch to...
View ArticleGrails eXchange 2007: Unit Testing and Mock Objects with Groovy
Unit testing is a first-class developer duty with even higher priority in dynamic languages like Groovy. During this talk at the Grails eXchange 2007, Dierk explained the built-in features that Groovy...
View ArticleMocking C++with Trompeloeil
Trompeloeil is an open source mocking framework for C++, aimed at ease of use without sacrificing expressive power. In arts, trompeloeil is intended to mock your mind, making you believe you see...
View Article
More Pages to Explore .....