aspose file tools*
The moose likes Testing and the fly likes anything vs pragmatic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "anything vs pragmatic" Watch "anything vs pragmatic" New topic
Author

anything vs pragmatic

ronald ali mangaliag
Greenhorn

Joined: Feb 05, 2004
Posts: 18
the term "pragmatic unit testing" is new to me... what other theories/approaches/frameworks/etc is similar/against/complementary/etc to pragmatic programming???
thanks...
ali
Andy Hunt
Author
Ranch Hand

Joined: May 01, 2001
Posts: 54
Pragmatic Unit Testing is our way of approaching unit testing, that is, it is in keeping with the ideals we put forth in The Pragmatic Programmer.
We don't explictly say "here's where you use the DRY principle and here's where you apply "The Cat ate my source code" or that sort of thing, but all of our founding principles are in play.
With testing especially, there seems to be a lot of dogma out there -- witness the near-religious ferver with which people argue the relative merits of one assert per method or multiple asserts per method.
We try to avoid any dogmatic approach. Bennie Goodman, the famous bandleader from the 1930's, summed up critical analysis of jazz music this way: "if it sounds good, it IS good."
Same thing applies here.


/\ndy Hunt<br /> <a href="http://www.PragmaticProgrammer.com" target="_blank" rel="nofollow">www.PragmaticProgrammer.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: anything vs pragmatic