Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartabatch-dev] The official way to run the TCK?

As I played with the Maven exec project, I attempted to simplify it a bit. Here's my humble PR: https://github.com/eclipse-ee4j/batch-tck/pull/4

Ondro

po 23. 3. 2020 o 1:29 Ondro Mihályi <ondrej.mihalyi@xxxxxxxxx> napísal(a):
Hi,

As I explored the standalone TCK, I became confused with how to run the TCK suite with JBatch impl. The documentation suggests to use the how-to-run-tck-against-jbatch-script.sh in  the TCK distribution, which in turn uses and to run the suite.

However, there's also a maven project https://github.com/eclipse-ee4j/batch-tck/tree/master/com.ibm.jbatch.tck.exec which runs the suite in a much simpler way just using maven. The project just configures JBatch and runs the tests in the Core Test maven artifact with plain `mvn verify`.

According to the git history, the latter way using Maven is older and has existed since the initial CQ. The Ant way of running the tests is newer. But to me that looks like a step back, isn't it? Why would we want to use Ant if we have a native Maven way of running the TCK? Isn't it better to bundle the maven project JBatch TCK exec and change the instructions to use it instead of the Ant project?

Ondro

Back to the top