| Author |
few basic Q ( in & out container )
|
prasanna pati
Ranch Hand
Joined: Jan 29, 2005
Posts: 46
|
|
I need to know few basic questions in testing :: I have some opaque-idea about these but I need to make it clear . what is In container testing & out-container testing ? why we need these two . when we will go for in-container & when the other type of testing ?
|
 |
Balachandar Nayak
Greenhorn
Joined: Jul 22, 2005
Posts: 29
|
|
hi pras, InContainer Testing - Testing your Java/J2EE Programs inside the Container(Application Server) OutContainer Testing or (Mock Objects) Testing your Java/J2EE Programs outside the Container(Application Server) There are cases why and where we have to use Mock or Incontainer Testing Just go through the following link: http://jakarta.apache.org/cactus/mock_vs_cactus.html Regards Bala
|
 |
prasanna pati
Ranch Hand
Joined: Jan 29, 2005
Posts: 46
|
|
|
ya but why these r reqd? why we need these ?
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
In container testing answers the question: does my code work inside the container? Do I use the container's services correctly? Does the container work together with my the way I expect it to? Out of container testing, on the other hand, has the advantage that you don't have to deploy before testing, and that the tests typically run considerably faster. So you use out of container testing for faster feedback, in container testing for integration testing.
|
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
|
 |
 |
|
|
subject: few basic Q ( in & out container )
|
|
|