Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [el-dev] Do you plan to move your TCK tests out of the Platform TCK project for Jakarta EE 10+?

Hi Scott,

There is already a version of this for EL here:
https://github.com/Thihup/joel/commits/main/io.joel.tck

Migrating to JUnit 5 wasn't explicitly on the plan for EL in Jakarta EE 10 but with the work Thiago has already done I think this is something we could get done.

My plans for this, speaking just as an EL committer, is to take my lead from the Platform TCK project. If the Platform TCK project would like EL to move in this direction then I can start that process and I am reasonably confident of completing if fairly quickly (by using Thiago's work as a guide). By performing the migration (sort of) independently, any migration I do and the migration already performed by Thiago can be used to validate each other - providing confidence that the tests before and after the migration are equivalent.

Mark


On 22/06/2021 20:34, Scott Marlow wrote:
[1][2] is a proposal for how to produce Standalone TCKs by extracting TCK tests from the Platform TCK.  The process for extracting Standalone TCK tests is described via the GUIDELINE FOR EXTRACTING TCK section [3].

Do you plan to move your TCK tests out of the Platform TCK project and into your Specification project?  If yes, you will publish your Standalone TCK artifacts to Maven so that the Platform TCK can consume your tests.  Some Standalone Specification TCKs will also be consumed by the Core Profile TCK (and possibly other EE profiles).

From the [1] feedback received so far, both TestNG + Junit5 are popular test frameworks.  Maven is the likely choice to switch to using in the EE Platform TCKs.

The Platform TCK community needs to take a deep look at the Platform TCK internals and consider what the Jakarta EE 10+ Platform TCK architecture will look like.  But I think first, we should do some incremental hacking to bring in some Maven based testing as suggested by jakartaee-tck/issues/51 [4].

Scott

[1] https://docs.google.com/document/d/1yDXTUUULUrFrUi1DV_9OcBKIiZLVxrZkA38MMvYdP-U/edit#
[2] https://github.com/eclipse-ee4j/jakartaee-platform/issues/333
[3] https://docs.google.com/document/d/1yDXTUUULUrFrUi1DV_9OcBKIiZLVxrZkA38MMvYdP-U/edit#heading=h.gt76s6wqkrva
[4] https://github.com/eclipse-ee4j/jakartaee-tck/issues/51


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




Back to the top