Andy's PoC can be found here: https://github.com/eclipse-ee4j/jaxrs-api/pull/988 Would be great if you could fix it to proof that we can use JUnit5. -Markus Von: jaxrs-dev [mailto:jaxrs-dev-bounces@xxxxxxxxxxx] Im Auftrag von James Perkins Gesendet: Donnerstag, 8. Juli 2021 17:11 An: jaxrs developer discussions Cc: Gurunandan Rao Betreff: Re: [jaxrs-dev] [External] : Re: Do you plan to move your TCK tests out of the Platform TCK project for Jakarta EE 10+? Thanks James. I tried the Alpha9 with no luck, but I can try the Alpha10.
No problem. If you've got a public branch or anything you'd like me to help test let me know. Although the conversation has gone stale in the last few days, we've been discussing this issue in slack at:
Doesn't look like I can see that :) Arquillian does have an Alpha version which supports JUnit 5 and the Jakarta EE 9 package rename [1]. The adapters would need to support it however as well. Hi Alwin, I have not had any luck with getting JUnit5 and Arquillian to work correctly. This combination is able to recognize the tests, but it always marks them as passed without actually running the tests. I've started work on using TestNG with Arquillian (similar to the MicroProfile TCK test framework). I'm still running into issues, but that combination runs the tests at least. Assuming that this combination works, we'll need to decide whether we should use a hybrid (JUnit 5 for some tests, TestNG for others) or swap the existing tests to TestNG. Once I get a little further in my sandbox, I'll share my changes. Thanks for reaching out! Hi Andy, We have done a POC to move few of the jaxrs standalone TCK tests from jakartaee-tck repo to jaxrs-api , on top of the new JUnit5-based TCK created by Markus. The changes are present in [1] if it helps. This change currently uses Junit5 to run 15 api tests in folder jakartaee-tck/src/com/sun/ts/tests/ jaxrs/api/rs/core/responsebuilder . But this does not cover the majority server side tests which would need Arquillian approach. We will also look into the same to use Arquillian on a set of server tests. If you had any progress on that, it would help to share the same. [1] https://github.com/alwin-joseph/jaxrs-api/tree/migrate-responsebuilder-tests Thanks & Regards, Alwin Joseph Hi Scott, Markus has already started creation of some JUnit5-based TCK tests for the standalone (Java SE) APIs.
I've been looking at a JUnit5/Arquillian approach for the server side tests, but running into problems with the integration - to be fair, the JUnit5/Arquillian modules are listed as alpha release, so I might be running into alpha-related issues - or I might just be running into user-error territory... in any case, I think it's fair to say that we are planning to have a standalone TCK for EE10. Hopefully, we'll actually get there in time! :-) _______________________________________________ jaxrs-dev mailing list jaxrs-dev@xxxxxxxxxxx To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jaxrs-dev
_______________________________________________ jaxrs-dev mailing list jaxrs-dev@xxxxxxxxxxx To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jaxrs-dev
-- _______________________________________________ jaxrs-dev mailing list jaxrs-dev@xxxxxxxxxxx To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jaxrs-dev
_______________________________________________ jaxrs-dev mailing list jaxrs-dev@xxxxxxxxxxx To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jaxrs-dev
-- |