Integration testing flows

Etienne Dysli-Metref etienne.dysli-metref at switch.ch
Tue Jun 30 10:21:54 EDT 2015


On 30/06/15 15:43, Marvin Addison wrote:
> I'm glad you brought this up. idp-conf doesn't produce a test-jar
> artifact, and I believe it should to facilitate development of custom
> flows.

I think it does produce a test-jar :) at least for the 3.2.0-SNAPSHOT
version I'm using (available at
https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/idp/idp-conf/3.2.0-SNAPSHOT/
and the maven-jar-plugin looks configured to do so by looking at the
output from "mvn help:effective-pom").

I've added a dependency on idp-conf:jar (duh!) and it fixed the
resources problem. But even after copying all test dependencies from
idp-conf's POM to mine, it is still missing classes to run tests and I'm
sinking in dependency hell... I'll try your copy/paste too.

I agree with you that having those testing support classes as a separate
module would ease custom flow development (with compile-scope
dependencies like described in
https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html#The_preferred_way).

Cheers,
   Etienne

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://shibboleth.net/pipermail/dev/attachments/20150630/1cd3d77e/attachment.sig>


More information about the dev mailing list