• 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

Coverage of integration testing...

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Authors,
Greetings of the day!

As I remember - the book "Agile Java" - largely covered unit testing...

Does the book cover integration testing?

Also does it specifically cover testing application + database interactions? Something on the lines of Spring's @Transactional tests?

Tests "crossing the border" of a component?

Thanks again for your time...

--- regards atul
 
author
Posts: 799
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Atul--

I mention integration testing a bit, but since Andy and Dave's original book was constrained to unit testing, this rewrite is too. There is a chapter in which I talk about how to write appropriate unit tests for database interaction (which involves mocking/stubbing)--but I also contend that at this level, you want a (very small) number of integration tests in addition to any end-to-end acceptance-level testing in place.

Regards,
Jeff
 
reply
    Bookmark Topic Watch Topic
  • New Topic