• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

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

 
blacksmith
Posts: 979
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
  • 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...
 
I need a new interior decorator. This tiny ad just painted every room in my house purple.
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
    Bookmark Topic Watch Topic
  • New Topic