Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jaspic-dev] VI Running Authentication TCK

Hello Arjan,

I am not sure if editing the root pom would be viable for VI testing as that would really mean maintaining a separate fork of the TCK which would need to be rebased / changes reapplied every time there are changes within the TCK.

Regarding using a runner pom is there any example with the authentication TCK?  Within WildFly we have been using runner poms for MicroProfile TCKs for a long time and other standalone TCKs as well but the pattern there tends to be more along the lines of:
  1. Add a dependency on the pre-built TCK module
  2. Provision / install the VI.
  3. Add VI specific arquillian configuration.
  4. Add a suite.xml to identify the tests to run.
  5. Define the surefire module to perform the tests as configured.
Looking at the authentication TCK it looks like it needs to be more than a single module as each test is now in it's own maven artifact.  But it also doesn't look like it will be viable to reference them all from a runner pom as they look like they are written to require isolation?

On a related point is it necessary for the individual maven projects to create deployments during the build as looking at the code ShrinkWrap is still used to assemble the deployment under test?  This looks to be the biggest benefit of the hierarchy?

I am going to try today and create a WildFly runner pom this might be a suitable basis for some VI instructions.

Regards,
Darran Lofthouse.


On Sun, Jun 12, 2022 at 3:02 PM arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
Hi,

That would happen in mostly the same way as with many of the other Arquillian based TCKs; add your own runner pom.xml, or edit the main pom.xml file and add a profile to it which puts the Arquillian connector on the classpath.

Kind regards,
Arjan Tijms


On Sun, Jun 12, 2022 at 2:36 PM Darran Lofthouse <darran.lofthouse@xxxxxxxxx> wrote:
I am just looking at the TCK modules in the jakarta-authentication repository, I see there are profiles in there to run against a predefined CI - are there any details as to how this can be run against a VI?

--

Darran Lofthouse

Red Hat

darran.lofthouse@xxxxxxxxx   

_______________________________________________
jaspic-dev mailing list
jaspic-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jaspic-dev
_______________________________________________
jaspic-dev mailing list
jaspic-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jaspic-dev

Back to the top