Videos tagged with Mocking
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 focusing how to use Partial Mocks to test abstract classes and methods within a concrete class.
DimeCasts.Net #138: Isolation 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 episode on how to setup you mocks when you need to mock a class with either Out or Ref arguements.
DimeCasts.Net #130: Isolation Frameworks: Learning how to validate complex 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 around on the various ways you can setup and validate complex expectations on your stubs/fakes. Validating these expectations will allow your to confirm in tests your dependencies are being used ...
DimeCasts.Net #127: Isolation 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 around on the various ways you can setup and validate expectations on your stubs/fakes. Validating these expectations will allow your to confirm in tests your dependencies are being used in the m...
DimeCasts.Net #125: Isolation 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.In this episode we will start off our learning experience by learning the basics. We will be taking a look at how to setup stubs/fakes in order to hard wire return values for our objects/methods.
ATLRUG: Testing with Mocks
A presentation to the Atlanta ruby user group on the use of mocks and stubs. Created by tkadom
Dingus: A recording mock/stub library for Python with automatic isolation
Dingus is a mocking/stubbing library I've been working on for about a year. It grew out of a now-defunct project's test suite, and I've used it in about 3,500 lines of unit test code. It does two things that are pretty novel: A dingus allows you to do almost anything to it, including nesting accesses arbitrarily deep. If you have a dingus d, you can say 99 * (d.foo.bar.baz() ** 'hello')[15] and...
C++ Mocks Made Easy - An Introduction to gMock
Note: This project has been open-sourced under the name Google C++ Mocking Framework, and the project's homepage is http://code.google.com/p/googlemock/Mock objects make unit testing easier and more effective. They cut code dependencies, make the tests fast and robust, make the test intent clear, and enable developers to easily test the interaction between components.While an invaluable techniq...
DimeCasts.Net #62: Introduction to the AutoMocking Conatiner in StructureMap
In this episode you will take a look at how to use the AutoMocking Cotainer that is part of StructureMap 2.5 You will be shown how to setup and use this container to reduce noise in your tests.
DimeCasts.Net #35: Taking a look at the AAA syntax in RhinoMocks 3.5
In this episode we take a look at the new AAA (Arrange, Act, Assert) syntax that is part of RhinoMocks 3.5. By the end of the episode you should have an general understanding of how the new syntax works and how it differs from the Record/Replay model.