This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Testing and the fly likes Pragmatic? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Pragmatic?" Watch "Pragmatic?" New topic
Author

Pragmatic?

Mike Southgate
Ranch Hand

Joined: Jul 18, 2003
Posts: 183
How does 'Pragmatic' unit testing differ from the unit testing we've all been doing so happily for so long?
ms


ms<br />SCJP, SCJD
Giselle Dazzi
Ranch Hand

Joined: Apr 20, 2003
Posts: 168
I�d like to hear (read) that one too...


Giselle Dazzi<br />SCJP 1.4
Gian Franco
blacksmith
Ranch Hand

Joined: Dec 16, 2003
Posts: 977
Hi there,
Originally posted by Mike Southgate:
How does 'Pragmatic' unit testing differ from the
unit testing we've all been doing so happily for so long?
ms

I think that the qualifier pragmatic refers
to a consolidated no-nonsense approach to
unit testing to which the authors adhere.
Something like having a bycicle (Junit) to
go from A to B and saying you don't really
need to do a wheely to get there. The bycicle
stays the same though with or without any
acrobatics.
Now you know I can't do a wheely.
Best regards,
Gian Franco


"Eppur si muove!"
Dave Thomas
Author
Ranch Hand

Joined: May 01, 2001
Posts: 45
Pragmatic unit testing probably doesn't differ much from the unit testing you're already doing, if you're currently testing effectively and efficiently. Our approach is pragmatic in that in concentrates on doing what works and no more. We try hard to avoid dogma and religion in testing: we just recommend a set of techniques and practices.
Cheers

Dave


Dave Thomas <br />Author of "<a href="http://www.amazon.com/exec/obidos/ASIN/020161622X/ref=ase_electricporkchop/002-7467239-7061602" target="_blank" rel="nofollow">The Pragmatic Programmer: From Journeyman to Master</a>
 
 
subject: Pragmatic?