Can anyone advise me on an effective way to employ JUnit with a
servlet? (I'm developing the servlet on Apache and JServ.)
Specifically, the test cases I intend to develop will require access
to back office services only accessible via the servlet which is of
course managed by JServ. Its not clear to me how to drive th servlet
(or JServ) via the Junit test runner. Any thoughts?
Ken Hilton
Kenosis LLC.
PS. If this is not the most appropriate subgroup for this question
please kind and feel free to direct me to the correct one, should you
know better. Thanks in advance for any help you can lend.
Maybe you want to check up on Cactus?
http://jakarta.apache.org/cactus/
You can also check the JUnit extensions for J2EE available at:
http://www.junit.org/news/extension/j2ee/index.htm
This article provides additional info on in-container testing with
JUnit:
http://www.theserverside.com/news/thread.tss?thread_id=28248
- Anupam