shibboleth-dev - Integration Test
Subject: Shibboleth Developers
List archive
- From: "Howard Gilbert" <>
- To: <>
- Subject: Integration Test
- Date: Wed, 9 Nov 2005 15:02:11 -0500
A JUnit based IntegrationTest is now checked into /tests/edu.internet2.middleware.shibboleth.integration.
It uses classes in /tests/edu.internet2.middleware.shibboleth.runner and
configuration files accessed as resources from /testresources. To run it in Eclipse, change your project to add
/testresources as a "source" directory in the Windows-Preferences-Java-Build
Path. Yes there is no actual java source in this directory, but declaring it to
be a source causes the configuration files to be copied to the generated
classes where they are available as resources during execution of the test. Right clicking on IntegrationTest and choosing Run as -
JUnit Test runs the three test cases. All tests execute the IdP, SP, and Filter
in sequence. One test does a POST with Attribute Push, one does a POST with
Attribute Query, and one does an Artifact signon. There is extensive commentary in IntegrationTest, which
should serve as a model and documentation of how to run the tests. There is
not, however, an exhaustive set of functional checks and test assertions. There
is, however, some effort to exercise a lot of features and the debugging trace
shows the correct operation of some ARP and AAP processing. Although this can be used for automated testing, it also
serves as a good platform for debugging new features or changes. Right click
and choose Debug as instead of Run as to run everything under the debugger. |
- Integration Test, Howard Gilbert, 11/09/2005
- Re: Integration Test, Will Norris, 11/10/2005
- RE: Integration Test, Howard Gilbert, 11/10/2005
- Re: Integration Test, Walter Hoehn, 11/10/2005
- RE: Integration Test, Howard Gilbert, 11/11/2005
- Re: Integration Test, Walter Hoehn, 11/11/2005
- RE: Integration Test, Howard Gilbert, 11/11/2005
- Re: Integration Test, Walter Hoehn, 11/11/2005
- RE: Integration Test, Howard Gilbert, 11/11/2005
- Re: Integration Test, Will Norris, 11/10/2005
Archive powered by MHonArc 2.6.16.