Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jakartaee-tck-dev] Initial appclient protocol

I have pushed the initial appclient protocol to my jakartaee-tck-tools
fork and created a PR to merge it:

https://github.com/starksm64/jakartaee-tck-tools
https://github.com/eclipse-ee4j/jakartaee-tck-tools/pull/37

There is a sample runner for WildFly that uses this appclient protocol
to run the com.sun.ts.tests.ejb30.bb.session.stateless.basic.Client
from the current tckrefactor branch of the platform-tck build of the
jakarta.tck:ejb30 artifact.

The runner repo is:
https://github.com/jakartaredhat/wildfly-ee11-tck-runner

In there you will find a
ejb30.bb.session.stateless.basic.ClientTest.java test, which is a
subclass of the
com.sun.ts.tests.ejb30.bb.session.stateless.basic.Client. The subclass
adds the Arquillian @Deployment method and the @Test annotation to the
overridden test methods.

Generating a subclass like this without modifying the existing tests
may be what Scott Marlow was talking about on the call on Wednesday.
Being able to use the existing JavaTest classes without modification
is what I'm looking at doing for the other vehicles.

Ideally the combination of the ant parser code in the
jakartaee-tck-tools in combination with the openrewrite rules will
allows us to generate Aquillian/Junt5 subclasses for all of the EE 10
tests.

Take a look at modifying the wildfly-ee11-tck-runner.git for your
appclient setup and create issues on the jakartaee-tck-tools repo for
any issues with the appclient protocol.

Scott


Back to the top