shibboleth-dev - Re: Integration JUnit testing
Subject: Shibboleth Developers
List archive
- From: Will Norris <>
- To:
- Subject: Re: Integration JUnit testing
- Date: Tue, 23 Aug 2005 09:54:09 -0500
On Aug 22, 2005, at 2:16 PM, Howard Gilbert wrote:
JUnit testing of the Shibboleth SP can be difficult because of several things:
<snip>
When I started working with Walter, one of the first projects he had me do was to create a mechanism to do blackbox unit testing on the IdP code. After looking at Cactus and Mock Objects, I ended up going with an Embedded Tomcat instance with a custom protocol handler. This custom handler bypasses sockets altogether and instead publicizes the process() method so that fabricated HTTP requests can be injected directly into the servlet for processing. It was working great in 1.2.1, but I didn't have time to verify it against 1.3 so it was never committed to CVS. Since this type of blackbox testing is obviously being done on both the IdP and SP side, perhaps we should attempt to standardize our methods some way. thoughts?
-will
--
Will Norris
Information Technology
The University of Memphis
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
- Integration JUnit testing, Howard Gilbert, 08/22/2005
- Re: Integration JUnit testing, Will Norris, 08/23/2005
- RE: Integration JUnit testing, Howard Gilbert, 08/23/2005
- Re: Integration JUnit testing, Will Norris, 08/23/2005
- Re: Integration JUnit testing, Will Norris, 08/23/2005
- Re: Integration JUnit testing, Will Norris, 08/24/2005
- RE: Integration JUnit testing, Howard Gilbert, 08/24/2005
- Re: Integration JUnit testing, Tom Scavo, 08/26/2005
- RE: Integration JUnit testing, Howard Gilbert, 08/26/2005
- Re: Integration JUnit testing, Walter Hoehn, 08/26/2005
- Re: Integration JUnit testing, Tom Scavo, 08/26/2005
- Re: Integration JUnit testing, Walter Hoehn, 08/26/2005
- Re: Integration JUnit testing, Tom Scavo, 08/26/2005
- RE: Integration JUnit testing, Howard Gilbert, 08/24/2005
- RE: Integration JUnit testing, Howard Gilbert, 08/23/2005
- Re: Integration JUnit testing, Will Norris, 08/23/2005
Archive powered by MHonArc 2.6.16.