• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Q 4 Mr. Ford (2): databases and unit testing

 
blacksmith
Posts: 979
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Mr. Ford,
I've seen that 'What won't fit in this book'
chapter includes amongst others 'Persistence'.
Does this mean the database issue is not covered
in the Unit Testing chapter?
If this is the case what is in your opinion the
strategy to adopt for Unit Testing with database
driven web apps. Or do you have any favourite
litterature on this issue?
Thank you, best regards,
Gian Franco Casula
 
Author
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gian -

Does this mean the database issue is not covered
in the Unit Testing chapter?
If this is the case what is in your opinion the
strategy to adopt for Unit Testing with database
driven web apps. Or do you have any favourite
litterature on this issue?


It does NOT mean that database issues are skipped, including in the JUnit chapter. I cover testing both entity and boundary classes (which includes data access classes) and how to establish a JDBC fixture.
Persistence appears in the "What's Not in this Book" chapter because I don't go into great detail on persistence frameworks, like JDO, Hibernate, and others. I do cover migrating to EJB's, but only in 1 chapter.
 
Hey! You're stepping on my hand! Help me 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
    Bookmark Topic Watch Topic
  • New Topic