Unfortunately I won't be able to make the seam-dev meeting today, I'm blaming it on the newborn! ;-)
To briefly mention the below agenda item regarding the testsuite, we've found out that the best solution is to use the unpack plugin for Maven as part of the build process to take the tests from the base module and add them into the test-classes of a container specific module so that Surefire will pick them up for testing.
The major problem was always the IDE. I think Jason has discovered a solution for IDEA, and I found one for Eclipse. The Eclipse solution is within the container specific module for the testsuite to "link source" for that project and link to the src/main/java and src/main/resources of the base project module. Doing this enables you to execute a single test, or all the tests in the module, against the specific container of that module. Another added bonus is that editing the test classes that have been linked modifies them within the base module src path, ensuring that changes are not lost and are committed to where they need to be.
The one downside to the above approach for Eclipse is that running Maven -> Update Project Configuration removes the source linkages that have been added within the IDE. I haven't had a chance to investigate this yet, but I'm hoping it's possible to script the link source commands so that we can provide those scripts with the modules to make it easy to add them back.
Any questions or concerns please drop me a mail.
If there's anything from the meeting that I need to look at please let me know.
- Follow-up from the last meeting (10 min)
- Mail Tests
- Hack Night: Faces (10 min)
- Next Seam 3 release (15 min)
- I believe the next one is CR1
- Discuss moving to the testing structure (Ken and I believe we have the bugs ironed out)
- Next week's meeting (5 min)
- All Seam devs will be having a meeting, may hold off--
Open Source Advocate
Author of Seam Catch - Next Generation Java Exception Handling
PGP key id: 926CCFF5
PGP key available at: keyserver.net, pgp.mit.edu
seam-dev mailing list