Videos tagged with Mocking


DimeCasts.Net #142: Isolation Frameworks: Learning to use Partial Mocks

DimeCasts.Net #142: Isolation Frameworks: Learning to use Partial Mocks

Posted in Companies, Development, Broadcasting, Frameworks, Microsoft, Screencasts, .NET Framework

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.

Tags: Frameworks, Microsoft, .NET Framework, Unit Testing, DimeCasts.Net, Mocking, Rhino Mocks, Derik Whittaker, Red-Gate.com, Broadcasting, Screencasts, ...



DimeCasts.Net #138: Isolation Frameworks: Mocking Out/Ref Arguments

DimeCasts.Net #138: Isolation Frameworks: Mocking Out/Ref Arguments

Posted in Companies, Development, Broadcasting, Frameworks, Microsoft, Screencasts, .NET Framework

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.

Tags: Frameworks, Microsoft, .NET Framework, DimeCasts.Net, Mocking, Rhino Mocks, Derik Whittaker, Red-Gate.com, Broadcasting, Screencasts, Development, ...


DimeCasts.Net #130: Isolation Frameworks: Learning how to validate complex expectations

DimeCasts.Net #130: Isolation Frameworks: Learning how to validate complex expectations

Posted in Companies, Development, Broadcasting, Frameworks, Microsoft, Screencasts, .NET Framework

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 ...

Tags: Frameworks, Microsoft, .NET Framework, DimeCasts.Net, Mocking, Rhino Mocks, Derik Whittaker, Red-Gate.com, Broadcasting, Screencasts, Development, ...


DimeCasts.Net #127: Isolation Frameworks: Learning how to validate expectations

DimeCasts.Net #127: Isolation Frameworks: Learning how to validate expectations

Posted in Companies, Development, Broadcasting, Frameworks, Microsoft, Screencasts, .NET Framework

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...

Tags: Frameworks, Microsoft, .NET Framework, DimeCasts.Net, Mocking, Rhino Mocks, Derik Whittaker, Red-Gate.com, Broadcasting, Screencasts, Development, ...


DimeCasts.Net #125: Isolation Frameworks: Learning how to Stub & Fake Data

DimeCasts.Net #125: Isolation Frameworks: Learning how to Stub & Fake Data

Posted in Companies, Development, Broadcasting, Frameworks, Microsoft, Screencasts, .NET Framework

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.

Tags: Frameworks, Microsoft, .NET Framework, DimeCasts.Net, Mocking, Rhino Mocks, Derik Whittaker, Red-Gate.com, Broadcasting, Screencasts, Development, ...




Dingus: A recording mock/stub library for Python with automatic isolation

Dingus: A recording mock/stub library for Python with automatic isolation

Posted in Development, Broadcasting, Python, Screencasts

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...

Tags: Python, TDD, Unit Testing, Mocking, stubbing, Dingus


C++ Mocks Made Easy - An Introduction to gMock

C++ Mocks Made Easy - An Introduction to gMock

Posted in Conferences, Companies, Techtalks, Google

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...

Tags: Techtalks, Google, Conferences, Testing, TDD, engEDU, Education, Mocking, Google Tech Talks, C#, Companies, ...



DimeCasts.Net #35: Taking a look at the AAA syntax in RhinoMocks 3.5

DimeCasts.Net #35: Taking a look at the AAA syntax in RhinoMocks 3.5

Posted in Companies, Development, Broadcasting, Frameworks, Microsoft, Screencasts, .NET Framework

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.

Tags: Frameworks, Microsoft, .NET Framework, Unit Testing, DimeCasts.Net, Mocking, Rhino Mocks