JBoss Community

Re: JTA 1.2 Implementation Work

created by Paul Robinson in JBoss Transactions Development - View the full discussion

Tom,

Where should I place the Arquillian tests?

 

More generally, couldn't the interceptors go in a new module: ArjunaJTA/cdi This is because the raw jta/ module now has some dependencies that may not make sense in a standalone scenario (but would be acceptable in narayana-jta uber jar).

Agreed. I've updated the doc. Same applies for the Context too.

 

It still a good question about when you can actually execute the test phase as you need the container to have its version of Narayana replaced, currently we have to do these tests in scripts/hudson/narayana.sh after we have built the AS with Narayana in it. Maybe these cdi integration tests  should be moved to qa/ somewhere (on a related note, perhaps the XTS tests should exist under there too)? The AS for example has a "testsuite" hierarchy for integration tests.

I'm not sure what moving them to QA would buy us? The reason why AS has them there is that they can have maven run them after the 'build' module has been built and thus the AS is available. We still have to complete a Narayana and WildFly build before we can run our integration tests. So we would still need to drive these tests from the script.

Reply to this message by going to Community

Start a new discussion in JBoss Transactions Development at Community