article thumbnail

AoAD2 Practice: Reflective Design

James Shore

My old authentication provider, Persona, had been discontinued, so I needed to switch to a new authentication provider, Auth0. These relationships are illustrated in figure “Authentication Design Analysis”. Authentication design analysis Next, I needed to identify flaws in the design. Test-Driven Development.

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. To test those interactions, and to prevent the other code from interfering with their tests, programmers often use mock objects or other test doubles.

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. To test those interactions, and to prevent the other code from interfering with their tests, programmers often use mock objects or other test doubles.

Testing 40