article thumbnail

Testing Without Mocks: A Pattern Language

James Shore

JavaScript and Node.js) TDD Lunch & Learn Screencast. Although broad integration tests can be added as a safety net, their failure indicates a gap in the main test suite. To prevent your tests from interacting with external systems and state, use Nullables. For a safety net, use Smoke Tests. Easy refactoring.

Testing 138
article thumbnail

Testing Without Mocks: A Pattern Language

James Shore

When programmers use test-driven development (TDD), the code they test interacts with other parts of the system that aren't being tested. Although broad integration tests can be added as a safety net, their failure indicates a gap in the main test suite. 27 Apr 2018. James Shore/Blog. No broad tests required. Easy refactoring.

Testing 88
article thumbnail

Testing Without Mocks: A Pattern Language

James Shore

When programmers use test-driven development (TDD), the code they test interacts with other parts of the system that aren't being tested. Although broad integration tests can be added as a safety net, their failure indicates a gap in the main test suite. 27 Apr 2018. James Shore/Blog. No broad tests required. Easy refactoring.

Testing 40