Re: Embedded tomcat for testing

2011-01-18 Thread Josh Canfield
whoops, typo > in your testng.xml you can now add a tapestry.servlet-container parameter and choose between => "tomcat6" <= or "jetty7" On Tue, Jan 18, 2011 at 9:56 PM, Josh Canfield wrote: > Just submitted a Tomcat6Runner which is a drop-in replacement for the > Jetty7Runner. > in your testng.xm

Re: Embedded tomcat for testing

2011-01-18 Thread Josh Canfield
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"

Re: Embedded tomcat for testing

2011-01-18 Thread Josh Canfield
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 wi

Re: Embedded tomcat for testing

2011-01-17 Thread Kalle Korhonen
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,

Re: Embedded tomcat for testing

2011-01-16 Thread Igor Drobiazko
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 wrote: > Most likely, seems like to the easiest way to go since most of Tapestry's > integration tests

Re: Embedded tomcat for testing

2011-01-16 Thread Josh Canfield
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

Re: Embedded tomcat for testing

2011-01-16 Thread Werner Keil
Guess you're using the T5 enabled extensions to Selenium for that?

Re: Embedded tomcat for testing

2011-01-16 Thread Josh Canfield
Sorry, what I mean is that I want to add automated integration tests against tomcat to Tapestry, in addition to the ones currently being run against jetty. I'm working on some container dependant features (session management defect) and I'm not comfortable calling it good enough that it worked in t

Re: Embedded tomcat for testing

2011-01-16 Thread Werner Keil
If you're running Eclipse, Sysdeo Tomcat Launcher should be great. Frameworks based on Tapestry even wrote a blog about it recently.

Re: Embedded tomcat for testing

2011-01-16 Thread Angelo C.
how about using maven tomcat plugin? mvn tomcat:run -- View this message in context: http://tapestry.1045711.n5.nabble.com/Embedded-tomcat-for-testing-tp3343628p3343831.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---