Quantcast
Channel: Sustainable Test-Driven Development
Browsing all 46 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Test Reflexology, Part 1 (first post)

Download the Podcast How unit tests inform us about our design  As proponents of Test-Driven Development, we constantly seek to identify and point out the various ways that the effort one puts into...

View Article


Image may be NSFW.
Clik here to view.

Test Reflexology, Part 1 (second post)

Download the Podcast ...continued from previous post... Overly Protective Test Sometimes when examining a test we find it to be much larger in size than the production class. Oftentimes we can just...

View Article


Image may be NSFW.
Clik here to view.

Redefining Test-Driven Development, Pt. 1

Download the Podcast How you do something new is often influenced to a great extent by what you think you are doing -- its precise nature, the steps and work-flows, and how it relates to other things...

View Article

Image may be NSFW.
Clik here to view.

Redefining Test-Driven Development, Pt. 2

Download the Podcast  In part 1 we said “How you do something new is often influenced to a great extent by what you think you are doing.”  Let’s add that, similarly, changing the way you do something...

View Article

Image may be NSFW.
Clik here to view.

Lies, Damned Lies, and Code Coverage

Download the Podcast As unit testing has gained a strong foothold in many development organizations, many teams are now laboring under a code coverage requirement.  75% - 80% of the code, typically,...

View Article


Image may be NSFW.
Clik here to view.

Testing Best Practices: Test Categories, Part 1

Download the Podcast Successfully adopting and practicing TDD in a sustainable way involves many distinctions, best-practices, caveats, and so forth.  One way to make such information accessible is to...

View Article

Image may be NSFW.
Clik here to view.

Testing Best Practices: Test Categories, Part 2

download the podcast Continued from Test Categories, Part 1 5. Behavior with related boundaries (“and”)  Sometimes a behavior varies based on more than one factor.  For example, let’s say that in order...

View Article

Image may be NSFW.
Clik here to view.

Testing Best Practices: Test Categories, Part 3

download the podcast Continued from Test Categories, Part 2 Constant Specification We often find values that are significant to a given problem domain, but are otherwise arbitrary.  For example, the...

View Article


Image may be NSFW.
Clik here to view.

ATDD and TDD

Download the Podcast Part 1 Download the Podcast Part 2 A question that we are often asked is: “What is the difference between Acceptance Test Driven Development (ATDD) and Test Driven Development...

View Article


Image may be NSFW.
Clik here to view.

The Importance of Test Failure

The typical process of Test-Driven Development goes something like this: Write a test that expresses one required behavior of the system. Create just enough production code (a “stub”) to allow the test...

View Article

Image may be NSFW.
Clik here to view.

Notice: Test Categories finally finished

This was an edit to an existing blog posting, so you might have missed it... but, we finally did finish part 3 of test categories.  Whew! It's here:...

View Article

Image may be NSFW.
Clik here to view.

Mock Objects, Part 1

Download the podcast. Narrow Specifications When writing tests as specifications, we strive to create a very narrow focus in each individual test.  We want each test to make a single, unique...

View Article

Image may be NSFW.
Clik here to view.

Mock Objects, Part 2

Download the podcast.   Techniques There are many ways to create a mock object by hand.  You will likely come up with your own techniques, which may make use of language elements and idioms made...

View Article


Image may be NSFW.
Clik here to view.

Mock Objects, Part 3

Dependency Injection Imagine that the example use previously was implemented differently: public class BoundaryAlarm {      private GPS myGPS;      private DashLight myDashLight;      public...

View Article

Image may be NSFW.
Clik here to view.

Upcoming Blog: Testing the Chain of Responsibility

Our next blog is going to be the first in a series of blogs that focus on testing the design patterns, and what we can learn about TDD and design from these investigations.  However, the discussion...

View Article


Image may be NSFW.
Clik here to view.

Testing the Chain of Responsibility, Part 1

The Chain of Responsibility pattern (hereafter CoR) is one of the original “Gang of Four” patterns.  We’re assuming you know this pattern already, but if not you might want to read about it first at...

View Article

Image may be NSFW.
Clik here to view.

Mock Object Podcast, Pt. 1

Just a heads up, we finally got the podcasts associated with our blogs on mocking done. Mock Object Podcast, Pt. 1

View Article


Image may be NSFW.
Clik here to view.

Mock Object Podcast, Pt. 2

...and here is the second one.  We have to post them separately like this in order for feedburner to pick them up and propagate them to iTunes... Mock Object Podcast, Pt. 2

View Article

Image may be NSFW.
Clik here to view.

ATDD and TDD Podcast, Part 2

It turns out that you can only place 1 podcast per blog and have iTunes pick it up.  So, this blog posting is just to get part two of the ATDD and TDD podcast to our iTunes subscribers.  If you are a...

View Article

Image may be NSFW.
Clik here to view.

A Learning Process: Re-doing CoR part 1

We're writing this blog for several reasons: To work out the intellectual material for the book we're writing To provide value to our community as quickly as possible To get feedback from our readers...

View Article
Browsing all 46 articles
Browse latest View live