RE: Unit Test in struts

2004-01-23 Thread Jesse Alexander (KAID 11)
not true.
I've seen web-apps that use strictly html (not a line of JavaScript)
and look very dynamic and responsive (one app reports its users are
more happy with the html-version than with the smalltalk fat client
solution (with the same functionality)). Unfortunately these apps are
company internal intranet-webapps, that cannot be shown to the outside.

It is basically a way of thinking.

Remember what we usually hate about stuff like M$ Office?
- The UI is overkill. Way too much unnecessary stuff. 
Give the users a FAST but very simple and clean (forget about 
animated gif's,...) UI, make it intuitively (NO learning curve)
and they will love it.

hth 
Alexander

PS: These apps are easier to be tested... (to bring us back on the
original trail)

-Original Message-
From: Nimmons, Buster [mailto:[EMAIL PROTECTED]
Sent: Freitag, 23. Januar 2004 00:01
To: 'Struts Users Mailing List'
Subject: RE: Unit Test in struts


if the front end to your application is strictly browser based then
JavaScript will more than likely play a role in the application. Same as if
you were to use a Swing front end you would more than likely have to make
use of eventlisteners. When I hear someone say you shouldn't use JavaScript
(or something similar) in a browser based application, I usually find out
that they really cannot distinguish the separate components of an
application and how they interact with each other and the user. I especially
like the I somehow dislike statements.. You dislike something but can't
figure out why? Sounds like upper management material to me.

-Original Message-
From: Edgar P Dollin [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 4:42 PM
To: 'Struts Users Mailing List'
Subject: RE: Unit Test in struts


Maybe I am not smart enough for my applications (order entry, inventory,
etc.) 
I just don't see how to give any real functionality in the
application space without JavaScript.  

Some issues where I don't see a work around for which are intrisic
to all the applications I am working on.

1) The user is entering items.  User needs dynamic
feedback as to to how much is entered so correctness
of data entry can be determined.

2) User can't remember a code from a 'large' list and
needs to look it up and return to where he was with
the correct value filled in.  Perhaps it can be done
with some fancy footwork with actions but...

3) Menus, yes there are plenty of static menus but
all the real ones are javascript, i.e. coolmenus
cannot be tested with the existing test tools.  Menu's are
not required to be tested but it would be nice.

Edgar

 -Original Message-
 From: Ashikuzzaman [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 22, 2004 1:25 PM
 To: 'Struts Users Mailing List'
 Subject: RE: Unit Test in struts
 
 
 I somehow dislike JavaScript from the very beginning. I try 
 my best to avoid
 it in big projects and so far successful. :-{
 
 Regards,
  
 Muhammad Ashikuzzaman (Fahim)
 Senior Software Engineer, SurroundApps Inc.
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unit Test in struts

2004-01-23 Thread Edgar P Dollin
Could you share with us how you worked around some of my issues, i.e.

The user is entering items.  User needs dynamic feedback as to to how much
is entered 
so correctness of data entry can be determined.

Thanks

Edgar


 -Original Message-
 From: Jesse Alexander (KAID 11)
 [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 23, 2004 3:37 AM
 To: 'Struts Users Mailing List'
 Subject: RE: Unit Test in struts
 
 
 not true.
 I've seen web-apps that use strictly html (not a line of JavaScript)
 and look very dynamic and responsive (one app reports its users are
 more happy with the html-version than with the smalltalk fat client
 solution (with the same functionality)). Unfortunately these apps are
 company internal intranet-webapps, that cannot be shown to 
 the outside.
 
 It is basically a way of thinking.
 
 Remember what we usually hate about stuff like M$ Office?
 - The UI is overkill. Way too much unnecessary stuff. 
 Give the users a FAST but very simple and clean (forget about 
 animated gif's,...) UI, make it intuitively (NO learning curve)
 and they will love it.
 
 hth 
 Alexander
 
 PS: These apps are easier to be tested... (to bring us back on the
 original trail)
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unit Test in struts

2004-01-23 Thread Chappell, Simon P
On our intranet application, we make a round trip to the server everytime the user 
enters a piece of data. This sounds like it would be dreadfully slow, but in practise 
it isn't. Internally, we have bandwidth to spare and we keep our pages fairly 
streamlined (need to switch to CSS, so that we can shrink them even more, but they're 
not bad even now). So our users get their dynamic feedback and we threw out JavaScript 
... a win-win situation if I ever heardof one. :-)

Simon

-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist  www.landsend.com
Lands' End, Inc.   (608) 935-4526

Wisdom is not the prerogative of the academics. - Peter Chappell

-Original Message-
From: Edgar P Dollin [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 7:26 AM
To: 'Jesse Alexander (KAID 11)'; 'Struts Users Mailing List'
Subject: RE: Unit Test in struts


Could you share with us how you worked around some of my issues, i.e.

The user is entering items.  User needs dynamic feedback as to 
to how much
is entered 
so correctness of data entry can be determined.

Thanks

Edgar


 -Original Message-
 From: Jesse Alexander (KAID 11)
 [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 23, 2004 3:37 AM
 To: 'Struts Users Mailing List'
 Subject: RE: Unit Test in struts
 
 
 not true.
 I've seen web-apps that use strictly html (not a line of JavaScript)
 and look very dynamic and responsive (one app reports its users are
 more happy with the html-version than with the smalltalk fat client
 solution (with the same functionality)). Unfortunately these apps are
 company internal intranet-webapps, that cannot be shown to 
 the outside.
 
 It is basically a way of thinking.
 
 Remember what we usually hate about stuff like M$ Office?
 - The UI is overkill. Way too much unnecessary stuff. 
 Give the users a FAST but very simple and clean (forget about 
 animated gif's,...) UI, make it intuitively (NO learning curve)
 and they will love it.
 
 hth 
 Alexander
 
 PS: These apps are easier to be tested... (to bring us back on the
 original trail)
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unit Test in struts

2004-01-22 Thread Edgar P Dollin
I have spent a fair amount of time with WebTest and HttpUnit.  The major
issues with both of these are JavaScript related.  For example if you use
JavaScript to populate select lists or html objects they are not available
in WebTest or HttpUnit (HttpUnit is a little better since you have finer
grained control).  

How does jWebUnit compare?

Thanks.

Edgar

 -Original Message-
 From: Richard Hightower [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 21, 2004 4:26 PM
 To: Struts Users Mailing List
 Subject: RE: Unit Test in struts
 
 
 you should try jWebUnit.
 i like it a lot.
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unit Test in struts

2004-01-22 Thread Matt Raible
I use a fair amount of JavaScript in my apps, and what I've found is
that the best thing to do is this:

Write your app so it can be tested (and used) with JavaScript turned
off.  

Works for me!

Matt

 -Original Message-
 From: Edgar P Dollin [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, January 22, 2004 5:49 AM
 To: Struts Users Mailing List
 Subject: RE: Unit Test in struts
 
 
 I have spent a fair amount of time with WebTest and HttpUnit. 
  The major issues with both of these are JavaScript related.  
 For example if you use JavaScript to populate select lists or 
 html objects they are not available in WebTest or HttpUnit 
 (HttpUnit is a little better since you have finer grained control).  
 
 How does jWebUnit compare?
 
 Thanks.
 
 Edgar
 
  -Original Message-
  From: Richard Hightower [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, January 21, 2004 4:26 PM
  To: Struts Users Mailing List
  Subject: RE: Unit Test in struts
  
  
  you should try jWebUnit.
  i like it a lot.
  
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unit Test in struts

2004-01-22 Thread Edgar P Dollin
I wish I had the luxury.

Edgar

 -Original Message-
 From: Matt Raible [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 22, 2004 9:42 AM
 To: 'Struts Users Mailing List'
 Subject: RE: Unit Test in struts
 
 
 I use a fair amount of JavaScript in my apps, and what I've found is
 that the best thing to do is this:
 
 Write your app so it can be tested (and used) with JavaScript turned
 off.  
 
 Works for me!
 
 Matt
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unit Test in struts

2004-01-22 Thread Ashikuzzaman
I somehow dislike JavaScript from the very beginning. I try my best to avoid
it in big projects and so far successful. :-{

Regards,
 
Muhammad Ashikuzzaman (Fahim)
Senior Software Engineer, SurroundApps Inc.


-Original Message-
From: Edgar P Dollin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 22, 2004 11:56 PM
To: 'Matt Raible'; 'Struts Users Mailing List'
Subject: RE: Unit Test in struts

I wish I had the luxury.

Edgar

 -Original Message-
 From: Matt Raible [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 22, 2004 9:42 AM
 To: 'Struts Users Mailing List'
 Subject: RE: Unit Test in struts
 
 
 I use a fair amount of JavaScript in my apps, and what I've found is 
 that the best thing to do is this:
 
 Write your app so it can be tested (and used) with JavaScript turned 
 off.
 
 Works for me!
 
 Matt
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unit Test in struts

2004-01-22 Thread Edgar P Dollin
Maybe I am not smart enough for my applications (order entry, inventory,
etc.) 
I just don't see how to give any real functionality in the
application space without JavaScript.  

Some issues where I don't see a work around for which are intrisic
to all the applications I am working on.

1) The user is entering items.  User needs dynamic
feedback as to to how much is entered so correctness
of data entry can be determined.

2) User can't remember a code from a 'large' list and
needs to look it up and return to where he was with
the correct value filled in.  Perhaps it can be done
with some fancy footwork with actions but...

3) Menus, yes there are plenty of static menus but
all the real ones are javascript, i.e. coolmenus
cannot be tested with the existing test tools.  Menu's are
not required to be tested but it would be nice.

Edgar

 -Original Message-
 From: Ashikuzzaman [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 22, 2004 1:25 PM
 To: 'Struts Users Mailing List'
 Subject: RE: Unit Test in struts
 
 
 I somehow dislike JavaScript from the very beginning. I try 
 my best to avoid
 it in big projects and so far successful. :-{
 
 Regards,
  
 Muhammad Ashikuzzaman (Fahim)
 Senior Software Engineer, SurroundApps Inc.
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unit Test in struts

2004-01-22 Thread Nimmons, Buster
if the front end to your application is strictly browser based then
JavaScript will more than likely play a role in the application. Same as if
you were to use a Swing front end you would more than likely have to make
use of eventlisteners. When I hear someone say you shouldn't use JavaScript
(or something similar) in a browser based application, I usually find out
that they really cannot distinguish the separate components of an
application and how they interact with each other and the user. I especially
like the I somehow dislike statements.. You dislike something but can't
figure out why? Sounds like upper management material to me.

-Original Message-
From: Edgar P Dollin [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 4:42 PM
To: 'Struts Users Mailing List'
Subject: RE: Unit Test in struts


Maybe I am not smart enough for my applications (order entry, inventory,
etc.) 
I just don't see how to give any real functionality in the
application space without JavaScript.  

Some issues where I don't see a work around for which are intrisic
to all the applications I am working on.

1) The user is entering items.  User needs dynamic
feedback as to to how much is entered so correctness
of data entry can be determined.

2) User can't remember a code from a 'large' list and
needs to look it up and return to where he was with
the correct value filled in.  Perhaps it can be done
with some fancy footwork with actions but...

3) Menus, yes there are plenty of static menus but
all the real ones are javascript, i.e. coolmenus
cannot be tested with the existing test tools.  Menu's are
not required to be tested but it would be nice.

Edgar

 -Original Message-
 From: Ashikuzzaman [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 22, 2004 1:25 PM
 To: 'Struts Users Mailing List'
 Subject: RE: Unit Test in struts
 
 
 I somehow dislike JavaScript from the very beginning. I try 
 my best to avoid
 it in big projects and so far successful. :-{
 
 Regards,
  
 Muhammad Ashikuzzaman (Fahim)
 Senior Software Engineer, SurroundApps Inc.
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unit Test in struts

2004-01-21 Thread Robert Taylor
Google:
http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=Unit+Test+In+Struts

I believe you want: 
http://strutstestcase.sourceforge.net/

but I could be wrong.

robert

 -Original Message-
 From: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 21, 2004 2:17 PM
 To: [EMAIL PROTECTED]
 Subject: Unit Test in struts
 
 
   Hi there! I've heard about a tool (like JUnit) but especific to be used 
 with struts, where I can test my actions, forms and jsp pages, problem is 
 ... I cant rememeber the name, does anyone knows about it?
 
 thnx
 
 Vinicius
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unit Test in struts

2004-01-21 Thread Shane Mingins
You could be thinking of StrutsTestCase but I am not sure if it will test
your JSP pages?  
http://strutstestcase.sourceforge.net/


To test web pages you could look at Canoo WebTest
http://webtest.canoo.com/webtest/manual/WebTestHome.html

HTH
Shane

 -Original Message-
 From: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
 Sent: Thursday, 22 January 2004 8:17 a.m.
 To: [EMAIL PROTECTED]
 Subject: Unit Test in struts
 
   Hi there! I've heard about a tool (like JUnit) but especific to be
 used
 with struts, where I can test my actions, forms and jsp pages, problem is
 ... I cant rememeber the name, does anyone knows about it?
 
 thnx
 
 Vinicius
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unit Test in struts

2004-01-21 Thread Chappell, Simon P
Well, we use Junit for testing our business logic (you do have your business logic 
split out into seperate objects right?), HttpUnit for functional testing and JUnitPerf 
for performance/load testing. We use all of these right now and are very happy with 
them. (ok, the DOM stuff in HttpUnit sucks, but we wrote our own tag content utilities 
and forgot about converting HTML to a DOM model.)

I'm actually just in the process of trying out StrutsTestCase 
(http://strutstestcase.sourceforge.net) for testing our actions. I got the examples to 
work, but I haven't gotten any further than that yet. Is this the tool that you were 
asking about?

Simon

-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist  www.landsend.com
Lands' End, Inc.   (608) 935-4526

Wisdom is not the prerogative of the academics. - Peter Chappell

-Original Message-
From: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 1:17 PM
To: [EMAIL PROTECTED]
Subject: Unit Test in struts


   Hi there! I've heard about a tool (like JUnit) but 
especific to be used 
with struts, where I can test my actions, forms and jsp pages, 
problem is 
... I cant rememeber the name, does anyone knows about it?

thnx

Vinicius


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unit Test in struts

2004-01-21 Thread Richard Hightower
you should try jWebUnit.
i like it a lot.

-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 12:52 PM
To: Struts Users Mailing List
Subject: RE: Unit Test in struts


Well, we use Junit for testing our business logic (you do have your business
logic split out into seperate objects right?), HttpUnit for functional
testing and JUnitPerf for performance/load testing. We use all of these
right now and are very happy with them. (ok, the DOM stuff in HttpUnit
sucks, but we wrote our own tag content utilities and forgot about
converting HTML to a DOM model.)

I'm actually just in the process of trying out StrutsTestCase
(http://strutstestcase.sourceforge.net) for testing our actions. I got the
examples to work, but I haven't gotten any further than that yet. Is this
the tool that you were asking about?

Simon

-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist  www.landsend.com
Lands' End, Inc.   (608) 935-4526

Wisdom is not the prerogative of the academics. - Peter Chappell

-Original Message-
From: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 1:17 PM
To: [EMAIL PROTECTED]
Subject: Unit Test in struts


   Hi there! I've heard about a tool (like JUnit) but
especific to be used
with struts, where I can test my actions, forms and jsp pages,
problem is
... I cant rememeber the name, does anyone knows about it?

thnx

Vinicius


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unit Test in struts

2004-01-21 Thread Chappell, Simon P
Richard,

What do you use jWebUnit to test?

Simon

-Original Message-
From: Richard Hightower [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 3:26 PM
To: Struts Users Mailing List
Subject: RE: Unit Test in struts


you should try jWebUnit.
i like it a lot.


snip

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]