Just submitted a Tomcat6Runner which is a drop-in replacement for the Jetty7Runner. in your testng.xml you can now add a tapestry.servlet-container parameter and choose between "tapestry6" or "jetty7"
<suite name="Tapestry Core - Limited" annotations="1.5" verbose="2"> <test name="Jetty 7 Integration Tests" enabled="true"> <parameter name="tapestry.web-app-folder" value="src/test/app1"/> <parameter name="tapestry.servlet-container" value="jetty7"/> <packages> <package name="org.apache.tapestry5.integration.app1"/> </packages> </test> <!-- rerun the tests in tomcat --> <test name="Tomcat 6 Integration Tests" enabled="true"> <parameter name="tapestry.web-app-folder" value="src/test/app1"/> <parameter name="tapestry.servlet-container" value="tomcat6"/> <packages> <package name="org.apache.tapestry5.integration.app1"/> </packages> </test> </suite> Josh On Tue, Jan 18, 2011 at 4:34 PM, Josh Canfield <joshcanfi...@gmail.com>wrote: > Is anyone using arquillian? > > > http://docs.jboss.org/arquillian/reference/latest/en-US/html/containers.html > > It seems to promise easy testing across containers. It's an alpha project, > but if we could get the highest priority containers working for the base > Tapestry unit tests that seems like a big win. > > I've spent some time getting embedded Tomcat to work and it hasn't been a > pleasant experience... > > Josh > > > On Mon, Jan 17, 2011 at 7:23 AM, Kalle Korhonen < > kalle.o.korho...@gmail.com> wrote: > >> Oh, it's absolutely possible. This article is from 2002: >> http://onjava.com/pub/a/onjava/2002/04/03/tomcat.html. I swear I had >> done embedding Tomcat for one of my projects, but for the life of me I >> can't remember which one and I couldn't find the code :( It's a bit >> more complicated than with Jetty, but I recall thinking at the time it >> wasn't too bad. I'm sure it's become easier with the new versions. >> >> Kalle >> >> >> On Sun, Jan 16, 2011 at 11:56 PM, Igor Drobiazko >> <igor.drobia...@gmail.com> wrote: >> > Is it possible to start an embedded tomcat without to provide the >> > installation path? The nice thing about JettyStarter is that jetty is >> > "built-in". >> > >> > On Mon, Jan 17, 2011 at 7:29 AM, Josh Canfield <joshcanfi...@gmail.com >> >wrote: >> > >> >> Most likely, seems like to the easiest way to go since most of >> Tapestry's >> >> integration tests are already done via selenium... selenium is just the >> >> browser tool though, I'm more interested in the app server. I plan to >> make >> >> it possible to configure which app server you run your integration >> tests >> >> in, >> >> I was hoping someone had some prior art to build from. >> >> On Jan 16, 2011 9:57 PM, "Werner Keil" <werner.k...@gmail.com> wrote: >> >> > Guess you're using the T5 enabled extensions to Selenium for that? >> >> >> > >> > >> > >> > -- >> > Best regards, >> > >> > Igor Drobiazko >> > http://tapestry5.de >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >