Remove .Net Remove System Design Remove Systems Review Remove TDD
article thumbnail

Testing Without Mocks: A Pattern Language

James Shore

Bad tests are a sign of bad design, so some people use techniques such as Hexagonal Architecture and functional core, imperative shell to separate logic from infrastructure. Infrastructure is code that involves external systems or state.) JavaScript and Node.js) TDD Lunch & Learn Screencast. It fixes the problem.

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. However, this approach requires additional integration tests to ensure the system works as a whole, and it can make structural refactorings difficult. No broad tests required.

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. However, this approach requires additional integration tests to ensure the system works as a whole, and it can make structural refactorings difficult. No broad tests required.

Testing 40