• 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

Q 4 Mr. Hunt & Mr Thomas (1): level of detail

 
blacksmith
Posts: 979
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear authors,
I'm new to unit testing. I've got Junit working om my machine,
which was a piece of cake.

I was wondering whether your book goes into 'spoon feeding'
detail for setting up tests for database classes for example?
Or is this information more general and to be distilled from
the topics you cover?

Thank you,

Gian Franco Casula.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As a side note, you might be interested in a decent little article published in our December 2003 JavaRanch Journal:
Unit Testing Database Code
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The book does not delve into the specifics of testing the various J2EE components which make up an app, such as the database components, the web components, etc...
There's a review of the book here if you're interested. The Table of Contents is also available as a pdf.
 
Author
Posts: 55
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
We do not go into specific detail on testing database components. "Spoon feeding", in general, only teaches one the shape of the spoon :-)
What we do talk about a lot are the various sorts of things you may want to consider while testing. In other words, how to answer the kwy question "what ELSE could go wrong". Being able to envison the likely failure scenarios is a key skill needed for sucessfull unit testing, and I'd like to think that our book really helps people grow that particular skill.
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Andy Hunt:
What we do talk about a lot are the various sorts of things you may want to consider while testing. In other words, how to answer the kwy question "what ELSE could go wrong".


It seems like the book helps the readers to improve in analyzing skill, rather than technical skill on testing process... In my opinion, one should possess pretty enough technical skill in order to improve his/her analyzing skill on testing process...
It'll be very nice, if someone can comment on my opinion...
 
reply
    Bookmark Topic Watch Topic
  • New Topic