Re: T5: PageTester and services in AppModule

2009-02-15 Thread manuel aldana
5.1 is not released yet. In maven terminology often SNAPSHOTS are used. You have to pass: 5.1.0.0-SNAPSHOT Angelo Chen schrieb: Hi Howard, Sounds good, is 5.1 as stable as 5.0.18? I did: 5.1 but it did not pull down the 5.1, any idea? thanks. Howard Lewis Ship wrote: I believe this

Re: T5: PageTester and services in AppModule

2009-02-14 Thread Angelo Chen
Hi Howard, Is getServeletContext considered part of Servlet API? I have following in a service and got NullPointerException when calling getServletContext in T5.1. It seems to me more problems encountered with PageTester when the app uses services, how to use pageTester to do some real testing i

Re: T5: PageTester and services in AppModule

2009-02-14 Thread Howard Lewis Ship
5.1.0.0-SNAPSHOT On Sat, Feb 14, 2009 at 4:19 PM, Angelo Chen wrote: > > Hi Howard, > > Sounds good, is 5.1 as stable as 5.0.18? I did: > > 5.1 > > but it did not pull down the 5.1, any idea? thanks. > > > Howard Lewis Ship wrote: >> >> I believe this problem is fixed in 5.1. I did some major s

Re: T5: PageTester and services in AppModule

2009-02-14 Thread Angelo Chen
Hi Howard, Sounds good, is 5.1 as stable as 5.0.18? I did: 5.1 but it did not pull down the 5.1, any idea? thanks. Howard Lewis Ship wrote: > > I believe this problem is fixed in 5.1. I did some major surgery on > PageTester, and it now simulates the Tapestry Request, Response, > Session a

Re: T5: PageTester and services in AppModule

2009-02-14 Thread Howard Lewis Ship
I believe this problem is fixed in 5.1. I did some major surgery on PageTester, and it now simulates the Tapestry Request, Response, Session and Context objects (not the Servlet API ones, however). This means you can test much more of your application beyond pages, including Dispatchers contribute

T5: PageTester and services in AppModule

2009-02-14 Thread Angelo Chen
Hi, I'm trying to add some page test into a running application, code is just simple: PageTester tester = new PageTester(appPackage, appName, "src/main/webapp"); PageTester tester = new PageTester(appPackage, appName, "src/main/webapp"); Document doc = tester.renderPage("In