I am practicing Test-Driven Development using Kent Tong’s model in his book Enjoying Web Development with Tapestry. I have tested the first page of my application and it runs pretty well, but now I want to test the second page in isolation. I am using TestNG and HtmlUnit. I want to get an HtmlPage instance of my second page, but I am not sure how to do it. If I use the Creator, I just get an instance of a subclass of my page class, rather than an object of type HtmlPage. What should I do here?
Thanks, Rob -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.5/322 - Release Date: 4/22/2006