Re: [Wicket-user] writing unit tests

2007-02-10 Thread nilo de roock

Thanks,
I'll have a look at it.
-nilo


Peter Thomas-4 wrote:
 
 I haven't tried to use WicketTester etc. for JUnit testing yet, plan to.
 
 Just wanted to mention that I personally have had good results with Watij
 [
 http://watij.com ] so you can automate browser based testing in Java
 itself,
 so no need to learn Ruby, Javascript etc.
 
 On 2/10/07, nilo de roock [EMAIL PROTECTED] wrote:


 Hai,

 I wonder how you got on with setting up your testenvironment?
 For a comprehensive Wicket try-out I have to set up a test environment.
 Normally I use Junit ( for classes ) and Jdemo ( for Swing apps ),
 testing
 of web-apps however, is something I haven't included in a regressiontest
 before.

 As I said I am very interested to hear from your experiences.
 What choices did you make? Are you satisfied with your setup?
 Selenium is new to me, I will have a look at that but I don't want Ruby
 creeping in, or any other language except Java. Can you recommend
 Selenium?
 Are you in fact using Wicket Test?

 Any other Wicket developerZ have an opinion on testing?
 -nilo



 Nino Wael wrote:
 
  Hi
 
  I've been wondering about best practices for writing unit tests with
  wicket?
 
  Looking around the source of wicket, I can see that most uses junit. A
 few
  places wicket tester are used.
 
  Last time I wrote a test I tried writing using jwebunit and http unit
 (as
  I remember). I tried using the wicket test framework, but it gave me
 some
  complications (might be because I was new to the wicket world). Also
 this
  was on wicket 1.x.
 
  What do others do?
 
  -Nino Wael
 
 
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
  your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context:
 http://www.nabble.com/-Wicket-user--writing-unit-tests-tf3147996.html#a8895418
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/-Wicket-user--writing-unit-tests-tf3147996.html#a8899463
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] writing unit tests

2007-02-10 Thread nilo de roock

Good results or not...

...
Currently Watij supports automating Internet Explorer on Windows only.
Future plans are in place to support others like Mozilla.
...

What's the point in using Java for the server and html / javascript for
clients if, at the end of the day the message is: the app only supports IE?

I can't justify that.
-nilo


Peter Thomas-4 wrote:
 
 I haven't tried to use WicketTester etc. for JUnit testing yet, plan to.
 
 Just wanted to mention that I personally have had good results with Watij
 [
 http://watij.com ] so you can automate browser based testing in Java
 itself,
 so no need to learn Ruby, Javascript etc.
 
 On 2/10/07, nilo de roock [EMAIL PROTECTED] wrote:


 Hai,

 I wonder how you got on with setting up your testenvironment?
 For a comprehensive Wicket try-out I have to set up a test environment.
 Normally I use Junit ( for classes ) and Jdemo ( for Swing apps ),
 testing
 of web-apps however, is something I haven't included in a regressiontest
 before.

 As I said I am very interested to hear from your experiences.
 What choices did you make? Are you satisfied with your setup?
 Selenium is new to me, I will have a look at that but I don't want Ruby
 creeping in, or any other language except Java. Can you recommend
 Selenium?
 Are you in fact using Wicket Test?

 Any other Wicket developerZ have an opinion on testing?
 -nilo



 Nino Wael wrote:
 
  Hi
 
  I've been wondering about best practices for writing unit tests with
  wicket?
 
  Looking around the source of wicket, I can see that most uses junit. A
 few
  places wicket tester are used.
 
  Last time I wrote a test I tried writing using jwebunit and http unit
 (as
  I remember). I tried using the wicket test framework, but it gave me
 some
  complications (might be because I was new to the wicket world). Also
 this
  was on wicket 1.x.
 
  What do others do?
 
  -Nino Wael
 
 
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
  your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context:
 http://www.nabble.com/-Wicket-user--writing-unit-tests-tf3147996.html#a8895418
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/-Wicket-user--writing-unit-tests-tf3147996.html#a8899494
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] writing unit tests

2007-02-10 Thread Peter Thomas

nilo - agreed, that is something I've ranted about myself :(

But if you do have IE available, it is possible to run an entire functional
regression test in batch mode - which is what I think you were looking for.
If you are looking for cross-browser compatibility testing - then you are
better off looking elsewhere.

Peter.

On 2/10/07, nilo de roock [EMAIL PROTECTED] wrote:



Good results or not...

...
Currently Watij supports automating Internet Explorer on Windows only.
Future plans are in place to support others like Mozilla.
...

What's the point in using Java for the server and html / javascript for
clients if, at the end of the day the message is: the app only supports
IE?

I can't justify that.
-nilo


Peter Thomas-4 wrote:

 I haven't tried to use WicketTester etc. for JUnit testing yet, plan to.

 Just wanted to mention that I personally have had good results with
Watij
 [
 http://watij.com ] so you can automate browser based testing in Java
 itself,
 so no need to learn Ruby, Javascript etc.

 On 2/10/07, nilo de roock [EMAIL PROTECTED] wrote:


 Hai,

 I wonder how you got on with setting up your testenvironment?
 For a comprehensive Wicket try-out I have to set up a test environment.
 Normally I use Junit ( for classes ) and Jdemo ( for Swing apps ),
 testing
 of web-apps however, is something I haven't included in a
regressiontest
 before.

 As I said I am very interested to hear from your experiences.
 What choices did you make? Are you satisfied with your setup?
 Selenium is new to me, I will have a look at that but I don't want Ruby
 creeping in, or any other language except Java. Can you recommend
 Selenium?
 Are you in fact using Wicket Test?

 Any other Wicket developerZ have an opinion on testing?
 -nilo



 Nino Wael wrote:
 
  Hi
 
  I've been wondering about best practices for writing unit tests with
  wicket?
 
  Looking around the source of wicket, I can see that most uses junit.
A
 few
  places wicket tester are used.
 
  Last time I wrote a test I tried writing using jwebunit and http unit
 (as
  I remember). I tried using the wicket test framework, but it gave me
 some
  complications (might be because I was new to the wicket world). Also
 this
  was on wicket 1.x.
 
  What do others do?
 
  -Nino Wael
 
 
 
 
 

-
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
share
  your
  opinions on IT  business topics through brief surveys - and earn
cash
 

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context:

http://www.nabble.com/-Wicket-user--writing-unit-tests-tf3147996.html#a8895418
 Sent from the Wicket - User mailing list archive at Nabble.com.



-
 Using Tomcat but need to do more? Need to support web services,
security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
 Using Tomcat but need to do more? Need to support web services,
security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--
View this message in context:
http://www.nabble.com/-Wicket-user--writing-unit-tests-tf3147996.html#a8899494
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with 

Re: [Wicket-user] writing unit tests

2007-02-10 Thread nilo de roock

Hi,
No complications yet!, thank G-d.

Just setting up a scale model of a (Wicket) development environment,
including all the other software, procedures and tools. As for developing I
am a very strong believer in the 'test-first, develop-later' way of doing
things, maybe that explains my interest in testing at this stage.

As for Wicket Tester, I haven't used it yet. I will very soon though.
-nilo


Carfield Yim-2 wrote:
 
 WicketTester is good for me for most case... may be you can share the
 complications you have?
 
 On 1/31/07, Nino Wael [EMAIL PROTECTED] wrote:




 Hi



 I've been wondering about best practices for writing unit tests with
 wicket?



 Looking around the source of wicket, I can see that most uses junit. A
 few
 places wicket tester are used.



 Last time I wrote a test I tried writing using jwebunit and http unit (as
 I
 remember). I tried using the wicket test framework, but it gave me some
 complications (might be because I was new to the wicket world). Also this
 was on wicket 1.x.



 What do others do?



 -Nino Wael


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/-Wicket-user--writing-unit-tests-tf3147996.html#a8899546
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] writing unit tests

2007-02-09 Thread nilo de roock

Hai,

I wonder how you got on with setting up your testenvironment?
For a comprehensive Wicket try-out I have to set up a test environment.
Normally I use Junit ( for classes ) and Jdemo ( for Swing apps ), testing
of web-apps however, is something I haven't included in a regressiontest
before.

As I said I am very interested to hear from your experiences.
What choices did you make? Are you satisfied with your setup?
Selenium is new to me, I will have a look at that but I don't want Ruby
creeping in, or any other language except Java. Can you recommend Selenium?
Are you in fact using Wicket Test? 

Any other Wicket developerZ have an opinion on testing?
-nilo



Nino Wael wrote:
 
 Hi
 
 I've been wondering about best practices for writing unit tests with
 wicket?
 
 Looking around the source of wicket, I can see that most uses junit. A few
 places wicket tester are used.
 
 Last time I wrote a test I tried writing using jwebunit and http unit (as
 I remember). I tried using the wicket test framework, but it gave me some
 complications (might be because I was new to the wicket world). Also this
 was on wicket 1.x.
 
 What do others do?
 
 -Nino Wael
 
  
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/-Wicket-user--writing-unit-tests-tf3147996.html#a8895418
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] writing unit tests

2007-02-09 Thread Peter Thomas

I haven't tried to use WicketTester etc. for JUnit testing yet, plan to.

Just wanted to mention that I personally have had good results with Watij [
http://watij.com ] so you can automate browser based testing in Java itself,
so no need to learn Ruby, Javascript etc.

On 2/10/07, nilo de roock [EMAIL PROTECTED] wrote:



Hai,

I wonder how you got on with setting up your testenvironment?
For a comprehensive Wicket try-out I have to set up a test environment.
Normally I use Junit ( for classes ) and Jdemo ( for Swing apps ), testing
of web-apps however, is something I haven't included in a regressiontest
before.

As I said I am very interested to hear from your experiences.
What choices did you make? Are you satisfied with your setup?
Selenium is new to me, I will have a look at that but I don't want Ruby
creeping in, or any other language except Java. Can you recommend
Selenium?
Are you in fact using Wicket Test?

Any other Wicket developerZ have an opinion on testing?
-nilo



Nino Wael wrote:

 Hi

 I've been wondering about best practices for writing unit tests with
 wicket?

 Looking around the source of wicket, I can see that most uses junit. A
few
 places wicket tester are used.

 Last time I wrote a test I tried writing using jwebunit and http unit
(as
 I remember). I tried using the wicket test framework, but it gave me
some
 complications (might be because I was new to the wicket world). Also
this
 was on wicket 1.x.

 What do others do?

 -Nino Wael





-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--
View this message in context:
http://www.nabble.com/-Wicket-user--writing-unit-tests-tf3147996.html#a8895418
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] writing unit tests

2007-02-09 Thread Carfield Yim
WicketTester is good for me for most case... may be you can share the
complications you have?

On 1/31/07, Nino Wael [EMAIL PROTECTED] wrote:




 Hi



 I've been wondering about best practices for writing unit tests with wicket?



 Looking around the source of wicket, I can see that most uses junit. A few
 places wicket tester are used.



 Last time I wrote a test I tried writing using jwebunit and http unit (as I
 remember). I tried using the wicket test framework, but it gave me some
 complications (might be because I was new to the wicket world). Also this
 was on wicket 1.x.



 What do others do?



 -Nino Wael


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] writing unit tests

2007-01-31 Thread Timo Rantalaiho
On Wed, 31 Jan 2007, Nino Wael wrote:
 What do others do?

I use excellent (at least in 2.0) WicketTester to test basic
functionality and tree structure of components, and
complement it with WicketBenchTestCase from Wicket Bench to
test with Selenium how the components behave in Firefox.

And JUnit 3 with both.

-- 
Timo Rantalaiho
Reaktor Innovations OyURL: http://www.ri.fi/ 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user