testdouble / testdouble.js

A minimal test double library for TDD with JavaScript
MIT License
1.42k stars 142 forks source link

Improve flow of getting started doc #63

Open searls opened 8 years ago

searls commented 8 years ago

Regarding this doc: https://github.com/testdouble/testdouble.js/blob/master/docs/3-getting-started.md#creating-a-test-double

We received these four chat messages as in-the-moment feedback:

this example is abit funky …as the example, and MathProblem, doesn’t take constructor arg, but the test double example assumes it does …ah i see, the later example implements the constructor …kinda lost me until then

Look into these and see if we can pull forward what they need to make the doc read more naturally.

stefanpenner commented 8 years ago

Look into these and see if we can pull forward what they need to make the doc read more naturally.

Ya, I felt I was missing something as i was going through the doc. By the end if all made sense, like Pulp Fiction..