1) I think that would work, but is has some downsides. One benefit of having the tim and -system-tests projects as sibling submodules is that you can build and test together from the root of the maven project. From the root if you do "mvn -Psystem-tests integration- test" it will properly compile, package, and find the tim before running the system tests, just as a side-effect of how Maven works. If you split them up as separate projects, then you would need to make sure you mvn install on the tim before running the system tests, so that might be a little more cumbersome.
The current recommended practice is to use the submodule form you see in tim-ehcache, tim-hibernate, tim-async, etc. This structure has its downsides of course but seems to work better than other stuff we've tried right now. On Nov 17, 2008, at 11:30 AM, Sergio Bossa wrote: > 1) What if I add a top-level tim-whatever-system-tests project, > referring the tim-whatever project to test into the pom file? Would it > be ok?Would it properly work? > > 2) I'll take a look, thanks! > > Sergio Bossa > Sent by iPhone > > Il giorno 17/nov/08, alle ore 18:10, Alex Miller <[EMAIL PROTECTED] >> ha scritto: > >> 1) You can't really do this as the system tests need to use the >> output >> of the tim project, which is why you'll see the tim / tim-system-test >> structure in most tim projects. Terracotta cache is a bad example as >> it doesn't really have any tests of the tim itself. >> >> 2) We do have some tests that do stuff like this...looking for some >> examples. You might take a look at com.tctest.MaxConnectionTest in >> our dso-tests-jdk15 project. It dynamically starts and stops clients >> to test the max client limits. Or another possibly interesting one >> is >> com.tctest.ClientDetectionTest in same project. >> >> >> >> On Nov 17, 2008, at 10:59 AM, Sergio Bossa wrote: >> >>> Hi guys, >>> >>> two questions about TIM system tests: >>> 1) How to add system tests to a TIM project with no sub-modules >>> (i.e. >>> JMX-Util, as well as TerracottaCache and others). >>> 2) How to dynamically connect/disconnect Terracotta nodes during a >>> system test? >>> >>> Thanks in advance, >>> >>> Sergio B. >>> >>> -- >>> Sergio Bossa >>> Software Passionate, Java Technologies Specialist and Open Source >>> Enthusiast. >>> Blog : http://sbtourist.blogspot.com >>> Sourcesense - making sense of Open Source : http:// >>> www.sourcesense.com >>> Pro-netics s.p.a. : http://www.pronetics.it >>> _______________________________________________ >>> tc-dev mailing list >>> tc-dev@lists.terracotta.org >>> http://lists.terracotta.org/mailman/listinfo/tc-dev >> >> _______________________________________________ >> tc-dev mailing list >> tc-dev@lists.terracotta.org >> http://lists.terracotta.org/mailman/listinfo/tc-dev > _______________________________________________ > tc-dev mailing list > tc-dev@lists.terracotta.org > http://lists.terracotta.org/mailman/listinfo/tc-dev _______________________________________________ tc-dev mailing list tc-dev@lists.terracotta.org http://lists.terracotta.org/mailman/listinfo/tc-dev