RE: How do you write tests if you aren't sure what the result should be?
Avi Kessner <[email protected]>
| Newsgroups | gmane.comp.programming.test-driven-development |
|---|---|
| Message-ID | <CAGEhWpHDo7MRxJqg=TnD6ok_L3EL-N+k+EMXT7Ede1yvbMYe9Q@mail.gmail.com> |
So to sumerize, 1. Research the problem to work around unknowable areas. 1a. Become convinced that its possible to know the unknowable in an abstract way. 2. Abstract the things which cause the problem to be unknowable and create mocks for them. 3. Massage the known solution to be broken up into testable units. 4. Profit. Is that correct? On Feb 18, 2013 7:01 AM, "Amir Kolsky" <[email protected]> wrote: > ** > > > Sorry for not being clear. > > I meant that the derivation of the formulae that you THEN implemented in > TDD > did not have anything to do with TDD. > > From: [email protected] > [mailto:[email protected]] On Behalf Of Ron Jeffries > Sent: Sunday, February 17, 2013 2:41 PM > To: [email protected] > Subject: Re: [TDD] How do you write tests if you aren't sure what the > result > should be? > > Hi Amir, > > On Feb 17, 2013, at 11:52 AM, "Amir Kolsky" [email protected] > > wrote: > > > Thing is, none of it had anything to do with TDD... > > Let me suggest that you read again, and think again ... > > Ron Jeffries > www.XProgramming.com > You never know what is enough unless you know what is more than enough. -- > William Blake > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] > > > [Non-text portions of this message have been removed] ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/testdrivendevelopment/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/testdrivendevelopment/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/