Remove .Net Remove 2018 Remove Test-Driven Development
article thumbnail

AoAD2 Practice: Test-Driven Development

James Shore

Test-Driven Development. It’s test-driven development, and it actually delivers these results. Test-driven development, , or TDD, is a rapid cycle of testing, coding, and refactoring. Test-driven development applies the same principle to programmers’ intention.

article thumbnail

AoAD2 Practice: Incremental Design

James Shore

Test-Driven Development. Test-driven development encourages you to think about and improve your design at nearly every step. Test-Driven Development. If you’ve practiced test-driven development, you’ve practiced incremental design, at least at the level of a single module or class.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

AoAD2 Practice: No Bugs

James Shore

That takes time, sure, but it also eliminates time needed for testing and fixing after the fact. It turns out to be a net gain, resulting in higher quality results for less cost and time. It’s a matter of building quality in, rather than testing defects out, as “Key Idea: Build Quality in” on p.XX Test-Driven Development.

article thumbnail

AoAD2 Practice: Reflective Design

James Shore

Test-Driven Development. I wanted my new login endpoint to have sociable tests. See “Write Sociable Tests” on p.XX.) For that to happen, Auth0Client needed to be nullable [Shore 2018], and for that, I needed HttpsRestClient to be nullable. Test-Driven Development. Incrementally Refactor.

article thumbnail

AoAD2 Practice: Zero Friction

James Shore

Test-Driven Development. Inside the script, use a compiler or linter to tell you when you make syntax errors, and tests to tell you when you make semantic errors. Bache 2018]. You still need to be able to run your tests locally, though, for both reproducibility and speed. And learn the keyboard shortcuts.

article thumbnail

Testing Without Mocks: A Pattern Language

James Shore

27 Apr 2018. 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

27 Apr 2018. 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