RE: Testing pages

2006-05-09 Thread Rob Dennett
o a > page (and you should be), then it is simply a matter of modifying your > applicationContext.xml or hivemodule.xml to inject your mock object > instead of the real one. Such functionality is one of the greatest > strengths of IoC containers. > > --sam > > On 5/5/06, Ro

Where can I find standard meta key values

2006-05-10 Thread Rob Dennett
I am having a hard time finding information about standard keys for the meta tag, e.g. org.apache.tapestry.page-class-packages. Is there a list of these somewhere with descriptions of what they are for? Thanks for your help, Rob -- No virus found in this outgoing message. Checked by AVG

page specifications in sub directories

2006-05-10 Thread Rob Dennett
I have a page specification in a sub directory of WEB-INF that doesn’t seem to work. If I enter HYPERLINK "http://localhost:8080/MyApp/app?service=external&page=myDir/MyPage"http://localhost:8080/MyApp/app?service=external&page=myDir/MyPage”, I get a PageNotFoundException saying that “myDir/

RE: page specifications in sub directories

2006-05-10 Thread Rob Dennett
By the way, in the message below, the page I refer to has a specification and a java class, but no template. That shouldn't matter, should it? Incidentally, I added to my application specification and I still get the problem. Thanks for your help, Rob -Original Message- From

RE: page specifications in sub directories

2006-05-11 Thread Rob Dennett
cations in sub directories If your page class extends BasePage, I'm pretty sure you must have a template. Have you tried putting an empty .html file next to the .page spec? On Thu, 11 May 2006 01:18:55 +0300, Rob Dennett <[EMAIL PROTECTED]> wrote: > By the way, in the message belo

RE: Testing pages

2006-05-11 Thread Rob Dennett
Dennett Subject: Re: Testing pages Rob Dennett wrote: > My page uses an injected service to authenticate the user. The page > only provides a getter. Do you add service setters to all your pages > to provide hooks just for these setup pages? Yes. -- Kent Tong, Msc, MCSE, SCJP, CCS

RE: Testing pages

2006-05-11 Thread Rob Dennett
Do you have a test suite to go along with, for example, the CustomerCRUD application from your book? Thanks for your help, Rob -Original Message- From: Kent Tong [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 8:12 PM To: users@tapestry.apache.org Cc: Rob Dennett Subject: Re

Testing pages

2006-05-12 Thread Rob Dennett
do you test your applications? Thanks for your help, Rob Dennett -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.6/337 - Release Date: 5/11/2006

How do you test tapestry 4?

2006-05-18 Thread Rob Dennett
I presume that everyone here separates their business logic from their pages and that you unit test that code separately. But how do you test your pages and components in isolation? It’s all well and good to test page and component class methods using the Creator, but there doesn’t seem to be

RE: How do you test tapestry 4?

2006-05-18 Thread Rob Dennett
est reports and cobertura coverage of our classes. We are now working on building a "Creator-based" framework to get more granular testing of our pages. We are doing the opposite process of you, I guess. Starting out and working in. Best, DeFrance -Original Message- From: R

RE: How do you test tapestry 4?

2006-05-18 Thread Rob Dennett
--Original Message----- From: Rob Dennett [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 11:42 AM To: Tapestry users Subject: RE: How do you test tapestry 4? Do you use HtmlUnit, etc. on the fully integrated app or do you test the tapestry side separately from the business tier? T

What do you think of my horrible testing strategy

2006-05-24 Thread Rob Dennett
I am not sure if a consensus has been reached as to what constitutes the best practice for testing a Tapestry app, so I came up with this little strategy that is rather inelegant and I would greatly appreciate any improvements that you would care to offer. Step one: Have ant build a fake wa

How to specify page class location

2006-05-26 Thread Rob Dennett
I have forgotten how to specify the location of a page class in the application specification, thereby avoiding having to create a separate page specification. Where can I find docs/examples on that? Thanks for your help, Rob -- No virus found in this outgoing message. Checked by AVG Fre

RE: How to specify page class location

2006-05-26 Thread Rob Dennett
,math.pages.lectureVoting.admin, math.pages.lectureVoting.admin.module, math.pages.lectureVoting.vote More details at http://jakarta.apache.org/tapestry/UsersGuide/configuration.html#configuration.properties Shing --- Rob Dennett <[EMAIL PROTECTED]> wrote: &g

How do you test your tapestry apps?

2006-06-08 Thread Rob Dennett
How do you test your apps? How should I do it? What would Howard do (if he were using rather than developing Tapestry)? Thanks for your help, Rob -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/358 - Release Date: 6/7/20

unit test suite for components?

2006-06-14 Thread Rob Dennett
Are there unit test suites for component collections like Tacos available? I would like to use that as a model for developing unit tests for my own components? What would Howard do? Thanks for your help, Rob -- No virus found in this outgoing message. Checked by AVG Free Edition. Versio

Re: unit test suite for components?

2006-06-15 Thread Rob Dennett
-javaforge/tapestry-testng/ On 6/14/06, Rob Dennett tmit1.org> wrote: > > Are there unit test suites for component collections like Tacos > available? I would like to use that as a model for developing unit tests > for my own components? What would Howard do? > > >