Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Integration Test  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read a lot of books, but I couldn't find an example of an integration test in java.
I know what are drivers and stubs, but never saw an example, too.
Someone can help me? Thanks!
 
author & internet detective
Sheriff
Posts: 38050
606
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to CodeRanch!

Lasse wrote an article about it in 2003. There are more examples in his book (Test Driven.)

Basically, an integration test looks like a unit test except you interact with the database/back end. You can call SQL or an EJB or ...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!