• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unit testing - question for Mr. Neal

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Mr. Neal,
Is JUnit the only one of its kind available for simple and effective unit testing of Java code? Does your book mention the names of some of them? (if not details).
Does your book describe it in more detail than I am able to lay my hands on through searching the web?
Thanks,
Dinesh
 
Author
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dinesh -

Is JUnit the only one of its kind available for simple and effective unit testing of Java code? Does your book mention the names of some of them? (if not details).


No, there are other tools to automate unit testing, mostly commercial ones. My book only covers JUnit because it is very high quality, widely used, and open source.

Does your book describe it in more detail than I am able to lay my hands on through searching the web?


My book shows how to cleanly incorporate unit testing (for both entity classes and database classes) into a non-trivial application. Most of the material available on the web is either simple tutorial or reference material (although I can't say what may be out there if you search long enough).
 
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there StrutsTestcase in your book?
 
Neal Ford
Author
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Is there StrutsTestcase in your book?


No, unfortunately not. I didn't manage to get it into the unit testing chapter, which is more concerned with unit testing all Model 2 applications (and frameworks) rather than just Struts.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic