Hi everyone, Lance I have a question for you (though anyone can answer it). You suggested to use something like
http://stackoverflow.com/questions/15664815/how-to-test-dao-layer-in-tapestry-dependent-projects/15671034#15671034 I was expecting that my db will be rebuild before every test? Is this a valid expectation it doesn't seem to be the case. So am I doing something wrong or is it that my expectations are wrong? Cheers On Fri, Sep 27, 2013 at 6:44 PM, Martin Kersten <martin.kersten...@gmail.com > wrote: > I always start simple first and most simply is without tapestry. When you > deal with 3 or 4 services at once you feel the need to go for IOC. Then you > want to test a single page and thats when you use tapestry-test and then > you go for full scale testing and you find yourself using htmlunit or > selenium using tapestry-test or like me an embedded jetty. > > > 2013/9/26 Boris Horvat <horvat.z.bo...@gmail.com> > > > I guess for now I will proceed with using code that is not tapestry > related > > inside my test classes though that is likely to change in the future. > > > > Thanks for you suggestions I will keep them in my head when the time for > > them arises :) > > > > Cheers > > > > > > On Thu, Sep 26, 2013 at 9:40 AM, Lance Java <lance.j...@googlemail.com > > >wrote: > > > > > HibernateEntityPackageManager only has one method which gets the list > of > > > hibernate entity package names. You might find it more lightweight to > > > create mock this rather than including HibernateModule. > > > On 26 Sep 2013 01:30, "Thiago H de Paula Figueiredo" < > thiag...@gmail.com > > > > > > wrote: > > > > > > > On Wed, 25 Sep 2013 20:01:14 -0300, Boris Horvat < > > > horvat.z.bo...@gmail.com> > > > > wrote: > > > > > > > > Is there a list like the default services that should be added. For > > > >> example > > > >> if I add my configuration of the hibernate it complains > > > >> HibernateEntityPackageManager doesn't exist > > > >> > > > > > > > > In this case, you need the HibernateModule added to the registry. > > > > > > > > -- > > > > Thiago H. de Paula Figueiredo > > > > > > > > > > ------------------------------**------------------------------**--------- > > > > To unsubscribe, e-mail: users-unsubscribe@tapestry.**apache.org< > > > users-unsubscr...@tapestry.apache.org> > > > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > > > > > > > > > > > > > > -- > > Sincerely > > *Boris Horvat* > > > -- Sincerely *Boris Horvat*