|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
TDD examplesI'm looking for some sample projects that were built using TDD, mainly
because I need to just see some good examples of tests to get a better feel for it. Does anyone have any sample projects or references that demonstrate good examples of TDD (and unit testing in general). Preferably in some trivial/simple projects as I know I can take a look at various OSS projects but it's hard to pull out the intentions of the tests without getting bogged down in the objectives of the OSS project. Cheers, Dan -- http://danny-t.co.uk |
|
|
Re: TDD examplesIt is not obvious to me how the objectives of an OSS project get in the way,
whilst the objectives of a sample project do not. Unit tests should be able to be viewed in isolation of the larger project scope. They should stand up on their own and be focussed. Having said that... maybe try http://codebettercanvas.googlecode.com/svn/trunk/ or similar to get a grip on the basics. On Thu, Oct 22, 2009 at 5:24 PM, DannyT <danmoov2@...> wrote: > > > I'm looking for some sample projects that were built using TDD, mainly because I need to just see some good examples of tests to get a better feel for it. Does anyone have any sample projects or references that demonstrate good examples of TDD (and unit testing in general). > > Preferably in some trivial/simple projects as I know I can take a look at various OSS projects but it's hard to pull out the intentions of the tests without getting bogged down in the objectives of the OSS project. > > Cheers, > Dan > > -- > http://danny-t.co.uk > > > |
|
|
Re: TDD examplesI would take a look at the bowling game transcript from Bob Martin, it
shows how to think in TDD. 2009/10/22, DannyT <danmoov2@...>: > I'm looking for some sample projects that were built using TDD, mainly > because I need to just see some good examples of tests to get a better feel > for it. Does anyone have any sample projects or references that demonstrate > good examples of TDD (and unit testing in general). > > Preferably in some trivial/simple projects as I know I can take a look at > various OSS projects but it's hard to pull out the intentions of the tests > without getting bogged down in the objectives of the OSS project. > > Cheers, > Dan > > -- > http://danny-t.co.uk > -- Inviato dal mio dispositivo mobile |
|
|
Re: TDD examplesSimone, this transcript:
http://www.objectmentor.com/resources/articles/xpepisode.htm very enlightening thanks! Steven, that is useful also, I guess I didn't mean the objectives getting in the way more rather the scale of the project gets in the way, with more complexity comes more configuration and more to digest and understand. It is useful for referencing more complex scenarios but when just trying to get started with basic domain and data access tests it's a little overwhelming. But point taken and thanks for the link. 2009/10/22 Simone Busoli <simone.busoli@...> > > > I would take a look at the bowling game transcript from Bob Martin, it > shows how to think in TDD. > > 2009/10/22, DannyT <danmoov2@... <danmoov2%40googlemail.com>>: > > > I'm looking for some sample projects that were built using TDD, mainly > > because I need to just see some good examples of tests to get a better > feel > > for it. Does anyone have any sample projects or references that > demonstrate > > good examples of TDD (and unit testing in general). > > > > Preferably in some trivial/simple projects as I know I can take a look at > > various OSS projects but it's hard to pull out the intentions of the > tests > > without getting bogged down in the objectives of the OSS project. > > > > Cheers, > > Dan > > > > -- > > http://danny-t.co.uk > > > > -- > Inviato dal mio dispositivo mobile > > -- http://danny-t.co.uk |
|
|
Re: TDD examplesHere are a few trivial examples of TDD.
http://blog.mustmodify.com/2008/12/introduction-to-unit-testing-in-net.html jw ---------- Johnathon Wright Web Application Consultant wave: jw@... gtalk: jw@... skype: johnathonwright yahoo: johnathonewright cell: 337 326 3121 http://www.mustmodify.com/ On Thu, Oct 22, 2009 at 2:24 AM, DannyT <danmoov2@...> wrote: > > > I'm looking for some sample projects that were built using TDD, mainly > because I need to just see some good examples of tests to get a better feel > for it. Does anyone have any sample projects or references that demonstrate > good examples of TDD (and unit testing in general). > > Preferably in some trivial/simple projects as I know I can take a look at > various OSS projects but it's hard to pull out the intentions of the tests > without getting bogged down in the objectives of the OSS project. > > Cheers, > Dan > > -- > http://danny-t.co.uk > > |
|
|
Re: TDD examplesHere are some TDD Kata screencasts that may help you realize TDD in action:
http://www.viddler.com/explore/unclebobmartin/videos/2/ http://www.vimeo.com/7248755 http://www.21apps.com/agile/tdd-kata-by-example-video/ http://www.vimeo.com/7103172 - Dan On Thu, Oct 22, 2009 at 10:33 AM, Johnathon Wright <jw@...>wrote: > > > Here are a few trivial examples of TDD. > > http://blog.mustmodify.com/2008/12/introduction-to-unit-testing-in-net.html > > jw > > > > ---------- > Johnathon Wright > Web Application Consultant > > wave: jw@... > gtalk: jw@... > skype: johnathonwright > yahoo: johnathonewright > cell: 337 326 3121 > > http://www.mustmodify.com/ > > > On Thu, Oct 22, 2009 at 2:24 AM, DannyT <danmoov2@...> wrote: > >> >> >> I'm looking for some sample projects that were built using TDD, mainly >> because I need to just see some good examples of tests to get a better feel >> for it. Does anyone have any sample projects or references that demonstrate >> good examples of TDD (and unit testing in general). >> >> Preferably in some trivial/simple projects as I know I can take a look at >> various OSS projects but it's hard to pull out the intentions of the tests >> without getting bogged down in the objectives of the OSS project. >> >> Cheers, >> Dan >> >> -- >> http://danny-t.co.uk >> > > > |
|
|
Re: TDD examplesI recently bought Growing Object-Oriented Software, Guided by
Tests<http://www.amazon.com/Growing-Object-Oriented-Software-Guided-Tests/dp/0321503627/> <http://www.amazon.com/Growing-Object-Oriented-Software-Guided-Tests/dp/0321503627/>I haven't read the book yet but I did flip through it briefly and it seems to have good examples of real word applications. And since the book is all about testing, I can only assume it attempts to explain how one might build these app through TDD (again, haven't actually sat down and read the book yet). Can't fully endorse it yet since I haven't taken any significant amount of time to digest the content but it might be a good place for you to start looking. On Mon, Oct 26, 2009 at 1:06 PM, Daniel Auger <daniel.auger@...>wrote: > > > Here are some TDD Kata screencasts that may help you realize TDD in action: > http://www.viddler.com/explore/unclebobmartin/videos/2/ > http://www.vimeo.com/7248755 > http://www.21apps.com/agile/tdd-kata-by-example-video/ > http://www.vimeo.com/7103172 > > - Dan > > > On Thu, Oct 22, 2009 at 10:33 AM, Johnathon Wright <jw@...>wrote: > >> >> >> Here are a few trivial examples of TDD. >> >> >> http://blog.mustmodify.com/2008/12/introduction-to-unit-testing-in-net.html >> >> jw >> >> >> >> ---------- >> Johnathon Wright >> Web Application Consultant >> >> wave: jw@... >> gtalk: jw@... >> skype: johnathonwright >> yahoo: johnathonewright >> cell: 337 326 3121 >> >> http://www.mustmodify.com/ >> >> >> On Thu, Oct 22, 2009 at 2:24 AM, DannyT <danmoov2@...> wrote: >> >>> >>> >>> I'm looking for some sample projects that were built using TDD, mainly >>> because I need to just see some good examples of tests to get a better feel >>> for it. Does anyone have any sample projects or references that demonstrate >>> good examples of TDD (and unit testing in general). >>> >>> Preferably in some trivial/simple projects as I know I can take a look at >>> various OSS projects but it's hard to pull out the intentions of the tests >>> without getting bogged down in the objectives of the OSS project. >>> >>> Cheers, >>> Dan >>> >>> -- >>> http://danny-t.co.uk >>> >> >> > > |
| Free embeddable forum powered by Nabble | Forum Help |