Hi Vincent,
I am fairly new to Cactus and am trying to understand exactly how it
should work.  

Our organization wants to perform code logic unit testing and
integration testing (we'll worry about functional testing later).  For
our code logic unit testing, we are planning on doing JUnit tests with
Mock objects.  

This is the strategy I am thinking we could use:
1) As we develop individual classes we will write JUnit tests using Mock
objects to test class methods.
2) Then, as we begin to integrate components (classes), we will take the
existing JUnit Tests, convert them to Cactus tests and use the real
objects (not the Mocks).  This will give us our "in-container"
integration tests.  

Does this sound like an appropriate approach?  Should I be doing
something different?  Our environment will be using Web Services and
EJB.  Will I be able to perform my code-logic unit tests outside the
scope of a container, or will these need to be run in the same fashion
as Cactus tests (ie. in container)?

Figuring out some of these questions would be great in understanding how
we can best use Cactus.  Thanks for any help you can provide.

Dawson


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to