Consume Jakarta Batch tests from batch-tck rather than duplicating within this project. #574
Labels
10.0
Issues related to the Jakarta EE 10 Platform TCK release
Projects
BASIC BACKGROUND
The Jakarta Batch tests in this repository are rooted off of path: https://github.com/eclipse-ee4j/jakartaee-tck/tree/master/src/com/ibm/jbatch/tck.
These essentially duplicate the same exact tests in https://github.com/eclipse-ee4j/batch-tck.
This is a legacy of the way in which the tests were originally provided to CTS.
There may be some differences (I haven't checked recently) related to logging and assertions, but the core batch semantics of the tests are (should be) exactly the same.
It seems like a step forward would be to update the build in this project and pull in the artifacts from the 'batch-tck' maven coordinates, but to otherwise execute the tests, within jakartee-tck automation, in the exact way they're executing now.
ALTERNATIVE
Lurking in the background, there's the idea of making the batch-tck project more flexible and useful, to the point where there's no need to include the batch tests in this jakartee-tck project.
E.g. we talked about some enhancements: https://ondro.inginea.eu/index.php/possible-ways-to-use-arquillian-in-jakarta-ee-tcks/
If that seems like the preferred approach, to decouple from this repo, then well, possibly we should just focus on that.
Although pulling in the tests from batch-tck seems easier if we're at the point where we want to add some new batch tests, and don't want to duplicate.
SOME MORE DETAILS
If we divide up the artifacts into:
I'd expect 2. to be exactly the same with the differences in 1. (I could be wrong though, if some of the logging diffs are present in 2.).
The text was updated successfully, but these errors were encountered: