Re: t5: usual practice for page test

2009-05-08 Thread Peter Stavrinides
Mostly our pages are kept quite clean and simple, so we write unit tests for 
business logic mostly, I use JUnit and sometimes Easymock for that.

 using test driven development for pages?
No, (although thinking of looking at PageTester at some point) but we do some 
black box testing using Selenium currently

 just write the code, write a test after it is done for SVN commit?
Nobody likes to admit this, but I confess to have done it on occasion :)

 just write the code, manually test the page?
We see development with manual testing as a normal part of the development 
process (we don't even call it testing). 

I guess how much testing you can afford to do lends itself to how much time you 
have to meet your deadline, what has really helped though IMHO is developing 
and following best practices for Java and Tapestry, which generally improves 
the reliability of pages, readability (predictability) of the code, and is 
easier to maintain as you know what to expect. Some might argue that its not 
deal to work this way but if you re-factor your code a lot, the quality also 
dramatically improves.

regards,
Peter

- Original Message -
From: Angelo Chen angelochen...@yahoo.com.hk
To: users@tapestry.apache.org
Sent: Friday, 8 May, 2009 02:02:40 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: t5: usual practice for page test


Hi,

I'd like to know how others do the test for page? what I'm doing now is,
write the code, manually test it until it works, that's the end. how you
guys do this task:

1) using test driven development for pages?
2) just write the code, write a test after it is done for SVN commit?
3) just write the code, manually test the page?

thoughts?
-- 
View this message in context: 
http://www.nabble.com/t5%3A-usual-practice-for-page-test-tp23437084p23437084.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


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



t5: usual practice for page test

2009-05-07 Thread Angelo Chen

Hi,

I'd like to know how others do the test for page? what I'm doing now is,
write the code, manually test it until it works, that's the end. how you
guys do this task:

1) using test driven development for pages?
2) just write the code, write a test after it is done for SVN commit?
3) just write the code, manually test the page?

thoughts?
-- 
View this message in context: 
http://www.nabble.com/t5%3A-usual-practice-for-page-test-tp23437084p23437084.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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