java-idp-integration-tests and idp-flow-tests ?

Tom Zeller tzeller at dragonacea.biz
Wed Jun 4 13:23:12 EDT 2014


> The java-idp-integration-tests project which uses Selenium needs to
> run the same testbed Jetty container as java-idp-testbed, so I am
> figuring that out as well.

It is not done yet, but I think I have it figured out now. Last Friday
I chatted with Brent, and that was helpful.

The idea is : in java-idp-integration-tests we should run Jetty just
like we suggest deployers will. So, the POM will unpack
idp-distribution and jetty-distribution somewhere and run Jetty in a
process at which the Selenium tests will be pointed. A missing piece
was the SP, but my plan is to add the testbed war to the Jetty process
as well. It mostly works, the issue I have right now is that to run
the Selenium tests from Eclipse requires running a mvn command in
java-idp-integration-tests, not a big deal.

Since the testbed SP just displays the SAML responses, I think I can
re-use the flow test code (now in idp-conf) to validate those
responses. Kind of a long way around automating testing the testbed,
but I like the idea of having an end-to-end test including our Jetty
configuration (which is in idp-distribution).

The Selenium tests (java-idp-integration-tests) are really just for
auto-filling the authentication form, but hopefully as we move forward
we can do other stuff with them.


More information about the dev mailing list