Here, http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/test/
All ~ 1,500 unit tests in tapestry use the tapestry-testng module from howardlewisship.com. There should be enough in there for more complete examples :) I've also already broken the basic base unit test classes in tapestry out into a new maven project that I've deployed, just haven't genereated a site for it yet with documentation. Eventually, people should be able to use the same testing resources tapestry developers do to test their own components/pages. On 7/20/06, KE Gan <[EMAIL PROTECTED]> wrote:
Hi, I have been coding Tapestry for a few months now. It is really nice to work with, especially with Hivemind tightly integrated ... hence I get to easily unit test my POJOs (domain objects, etc). However, I still have problem unit testing the Tapestry pages of the application. I did try to use HtmlUnit, but that that's more like integration testing. It requires the tomcat and database server to be running. I am wondering what are other Tapestry users are doing to "unit testing" Tapestry pages without need to use the servlet container ? This would make development much faster! I read a bit here and there about using TestNG + EasyMock [tapestry-testng] ( http://howardlewisship.com/tapestry-javaforge/tapestry-testng/index.html). It seems to be what I am looking for (am I right?), but I cannot find any example about how to using it, or much documentation of how to go about that either. I greatly appreciate if fellow Tapestry users can give some pointers. By the way, what is the development status of tapestry-testng ? Seems like still a 'snapshot' release? When can we see a full release with Tapestry? Thanks.
-- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.