File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

anything vs pragmatic

 
ronald ali mangaliag
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 55
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic