By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,078 Members | 2,159 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,078 IT Pros & Developers. It's quick & easy.

Unit Testing DHTML

P: n/a
Hi,

I've been thinking about unit testing DHTML widgets. Is the only real
way to create small examples/test files and manually run each in a
bunch of browsers?

Thanks,
Peter

Apr 1 '06 #1
Share this Question
Share on Google+
6 Replies


P: n/a
pe**********@gmail.com wrote:
I've been thinking about unit testing DHTML widgets. Is the only real
way to create small examples/test files and manually run each in a
bunch of browsers?


Yes, it is.
PointedEars
Apr 1 '06 #2

P: n/a

"Thomas 'PointedEars' Lahn" <Po*********@web.de> kirjoitti viestissä
news:84****************@PointedEars.de...
pe**********@gmail.com wrote:
I've been thinking about unit testing DHTML widgets. Is the only real
way to create small examples/test files and manually run each in a
bunch of browsers?


Yes, it is.
PointedEars


Wrong.
Apr 1 '06 #3

P: n/a

optimistx wrote:
"Thomas 'PointedEars' Lahn" <Po*********@web.de> kirjoitti viestissä
news:84****************@PointedEars.de...
pe**********@gmail.com wrote:
I've been thinking about unit testing DHTML widgets. Is the only real
way to create small examples/test files and manually run each in a
bunch of browsers?


Yes, it is.
PointedEars


Wrong.


Could you expand on why you think Thomas is wrong?

Apr 1 '06 #4

P: n/a
wrote:
Hi,

I've been thinking about unit testing DHTML widgets. Is the only real
way to create small examples/test files and manually run each in a
bunch of browsers?

Google for ecmaunit or jsunit. These are both good for testing client-side
javascript.

If you want to test interaction with a server then you may need something a
bit more powerful: have a look at Selenium
(http://www.openqa.org/selenium/).

In either case you will still have to load the tests into each browser you
want to use, but the actual running of the tests should be fully automatic.
Apr 1 '06 #5

P: n/a
pe**********@gmail.com wrote:
optimistx wrote:
"Thomas 'PointedEars' Lahn" <Po*********@web.de> kirjoitti viestissä
news:84****************@PointedEars.de...
pe**********@gmail.com wrote:
I've been thinking about unit testing DHTML widgets. Is the only real
way to create small examples/test files and manually run each in a
bunch of browsers?

Yes, it is.
PointedEars


Wrong.

Could you expand on why you think Thomas is wrong?

JsUnit server can be configured to run tests in a number of browsers on
either local or remote machines. Very handy when used together with VMWare.

--
Ian Collins.
Apr 2 '06 #6

P: n/a

<pe**********@gmail.com> kirjoitti viestissä
news:11**********************@e56g2000cwe.googlegr oups.com...

optimistx wrote:
"Thomas 'PointedEars' Lahn" <Po*********@web.de> kirjoitti viestissä
news:84****************@PointedEars.de...
pe**********@gmail.com wrote:
I've been thinking about unit testing DHTML widgets. Is the only real
way to create small examples/test files and manually run each in a
bunch of browsers?


Yes, it is.
PointedEars


Wrong.


Could you expand on why you think Thomas is wrong?
<Thomas mode on>
Yes.
<Thomas mode off>
Apr 3 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.