I think I will need a test suite with the test classes in
src/main/java (rather than src/test/java) so that the provider can get
those classes onto its own classpath during testing. Will Arquillian
work OK like that (ie: does it have maven integration which specifically
looks under src/test/java only)?
No, there's nothing in there that I'm aware of that would
prohibit this approach.
You're right of course. The thing that seems to be getting in my way is
actually the Surefire Maven plugin. I've created the TCK project
separately and configured the Compile plugin to generate a
seam-cron-asynchronous-tck-tests.jar which I'm then including in the
asynchronous provider's project like so:
However Maven still concludes that there aren't any test to run for
that project. I suppose that's for good reason, but I'd like to work
out how I can have these imported tests run by Surefire, rather than
just the ones in src/test/java. I'll keep trying but please chime in if
anyone has any ideas.