Open starksm64 opened 3 weeks ago
One way would be to generate the TestServlet.java/TestServlet2.java classes using the javadb glassfish settings and if a vendor is running against a different database, they would replace these classes with their correctly annotated version in their tck.arquillian.porting.lib.spi.TestArchiveProcessor
implementation. The user guide would have to document this as an allowed test modification.
Related to #1360 , there are tests like com.sun.ts.tests.ejb30.misc.datasource.twowars that have template classes like:
Where the
@DataSourceDefinition
annotation is filled in during test execution by the ant build scripts when the test artifact is assembled. This does not work well with maven when you are producing the test artifact and then simply consuming it in a test runner project.We need to replace with template approach with one that fits the maven/arquillian/junit5 approach.