mocking Archive

Trompeloeil: Mocking Tool for C++

Trompeloeil is an open source thread-safe header-only mocking framework for C++14. It is easy to use while also allowing great expressive power. A popular technique in unit testing is to break dependencies by replacing collaborators of the

Mock the Internet

This Mock the internet presentation talks about a new mocking system in Linkedin that helps to mock all the outbound traffic for service level integration tests, will also talk a little bit about the overview of Linkedin

Are your Mocks Mocking at You?

Ever since J.B. Rainsberger’s ‘integrated tests are a scam’, many developers try to get rid of their massively integrated tests and test their units in isolation. Co-operation of units is tested with mocks and stubs. But –

Why You Don’t Get Mock Objects

Although the Ruby community has embraced TDD like no other community ever has, we have always looked at mock objects with disdain, and perhaps even a little hatred. I’ve heard conference speakers call them “Wastes of time”,

A New Approach to Mock Objects

Some say “mocks suck”, because they reduce a test’s realism and with it the confidence that the code being tested actually works. Others use mocks to demarcate the outer boundary of an application, guarding the test from