Hiyas,

We finally got Cactus to work on WebLogic6 .. [more on this another time]
and are now starting to use cactus. We run into what may be some conceptual
problems on our side.

1 - we have our servlets set up in chains, with each servlet dispatching to
the next.. But we want to test the methods in the servlets in isolation.. If
you write a test for the doGet, how do you avoid it dispatching - can cactus
catch the dispatch?

2 - the doGet calls a bunch of private methods. How do you get Cactus to
test those private methods? And the broader issue, how do you get jUnit to
test private members. I feel uncomfortable making things public just so I
can jUnit them.

regards,
dk-


Reply via email to