• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic