You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by #Cyrille37# <cy...@gmail.com> on 2007/04/15 17:28:46 UTC

JUnit and Tapestry application

Hello,

The only documentation I've found to run JUnit Tests on a Tapestry 
application is for Tapestry 3 :
http://tapestry.apache.org/tapestry3/doc/ContributorsGuide/procedures.junit.html
Is it enough ? Or is there new stuff to know for Tapestry 4.x ?
Thanks
cyrille



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: JUnit and Tapestry application

Posted by Renat Zubairov <re...@gmail.com>.
Hi

The only way I think is to lean from already created tests. I also had
this problem before.
You can check unit tests of any of the Tapestry projects, for example
you can have a look on bookie project I'm participating in

http://code.google.com/p/bookie

There you might be interested in this file

http://bookie.googlecode.com/svn/trunk/bookie-web/src/test/java/org/bookie/web/tests/AddEventPageTest.java

or any other *PageTest

then here:

http://bookie.googlecode.com/svn/trunk/bookie-web/src/test/java/org/bookie/web/tests/PageTestBase.java

Renat

On 15/04/07, #Cyrille37# <cy...@gmail.com> wrote:
> Hello,
>
> The only documentation I've found to run JUnit Tests on a Tapestry
> application is for Tapestry 3 :
> http://tapestry.apache.org/tapestry3/doc/ContributorsGuide/procedures.junit.html
> Is it enough ? Or is there new stuff to know for Tapestry 4.x ?
> Thanks
> cyrille
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Best regards,
Renat Zubairov

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org