Re: [extremeprogramming] The principle behind How Test-Driven Development Works
"Steve Gordon" <[email protected]> Thu, 21 Nov 2019 08:48:02 -0700
| Newsgroups | gmane.comp.programming.extreme-programming |
|---|---|
| Message-ID | <CAF7qo6XxgdY4fUosDPg+0VpR6wR1EskTr_2jgWCQX3+x+JMQOg@mail.gmail.com> |
The work process is different for TDD at the unit level than at the system level (acceptance, story slice, business goal, etc.). In TDD at the unit level, a new tests is written after each time the code satisfies the previous test (and is refactored), whereas at the system level, several tests are normally written before implementation starts and rarely are new tests added at the system level during implementation of a story. Further clouding the issues are customer ownership (or at least intimate participation) in system level tests, which is why there has been an evolution of how system-level tests can be written in customer-readable language. This issue then got further clouded with the emergence of BDD to the extent that many believe BDD is only for acceptance testing. On Thu, Nov 21, 2019 at 7:34 AM Chris Riesbeck <[email protected]> wrote: > I prefer "test-driven" over "test-first". Tests define what needs to be > accomplished, in tiny slices, in some executable "clear when it's done" > form. There's TDD with unit tests at the code task level, there's TDD > with acceptance tests at the user story level, and there's TDD with > business goals at the product level, e.g., reduced user error or > increased usage of some feature. > > -- > ................................................ > Christopher Riesbeck (he/him/his) > Associate Professor, Computer Science > McCormick School of Engineering, Northwestern University > Director, MS in Computer Science > Co-director, The Center for Computer Science and Learning Sciences > > Home page: https://users.cs.northwestern.edu/~riesbeck/ > Calendar: https://users.cs.northwestern.edu/~riesbeck/calendar-weekly.html > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#160278): https://groups.io/g/extremeprogramming/message/160278 Mute This Topic: https://groups.io/mt/39414677/2417047 Group Owner: [email protected] Unsubscribe: https://groups.io/g/extremeprogramming/leave/4902963/619838065/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-