• 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. Ford (2): databases and unit testing

 
blacksmith
Posts: 979
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic