This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Testing and the fly likes Integration testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Integration testing" Watch "Integration testing" New topic
Author

Integration testing

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Which framework can I use to carry out Integration testing ?


Groovy
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
What do you mean by integration testing?

./pope


blog - InfoQ.com
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
As far as I got that definitions (thanks Pradeep) you could involve mocking. A list of mock frameworks is available here.

Aslak Hellesoy recommends the usage of jMock

At the moment, I am using a library called jMock, which is the evolution of the first mock object framework that came around created by--Oh my God, I have to mention all the names--I don�t remember all the names. They found some flaws in the initial design and they got together and they figured out a better way to do it, so jMock was born.

./pope
[ October 12, 2004: Message edited by: Ali Pope ]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
If you're talking about a web application, a relatively popular choice is to use a library such as HttpUnit, JWebUnit, HtmlUnit, Jameleon, FIT, FitNesse, etc. against the UI (or a service layer beneath the UI) with the code executing against a real database and other similar resources that are usually mocked out somehow in unit tests.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Originally posted by Ali Pope:
What do you mean by integration testing?

./pope


http://www.faqs.org/faqs/software-eng/testing-faq/section-14.html
Frank Martinig
Ranch Hand

Joined: Oct 12, 2004
Posts: 59
Originally posted by Ali Pope:
What do you mean by integration testing?

./pope


If you are interested in more information about integration testing, look at "Managing your Way through the Integration and Test Black Hole". This article presents approaches to estimate and manage more accurately the integration and test efforts.

http://www.methodsandtools.com/archive/archive.php?id=13


<a href="http://www.martinig.ch" target="_blank" rel="nofollow">http://www.martinig.ch</a>
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

Frank,
Good article. Thanks for sharing the link. I like the graph on defects per module. I found it interesting that they separated code from compiling.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Nice article here
http://www.martinfowler.com/articles/continuousIntegration.html
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Is it only me that see a difference between integration testing and conitnous integration testing (according to the links on this thread)?

./pope
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Ali Pope:
Is it only me that see a difference between integration testing and conitnous integration testing (according to the links on this thread)?


No, it's not only you. They are two othogonal things, I'd say.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Thank Ilja. Now I am really feeling better .
 
jQuery in Action, 2nd edition
 
subject: Integration testing