473,394 Members | 1,640 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Unit Testing DHTML

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
6 1200
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

"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

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
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
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

<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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Hugh Cowan | last post by:
Hello, I don't program full-time (anymore), but I do try and stay on-top of the latest technologies and like most are always trying to upgrade my skills and remain current (as much as is...
3
by: Matt Kruse | last post by:
Does anyone actively use JSUnit < http://www.edwardh.com/jsunit/ > for unit testing their javascript code? For logical functions, I imagine it could be very useful. However, I'm wondering how...
14
by: | last post by:
Hi! I'm looking for unit-testing tools for .NET. Somthing like Java has --> http://www.junit.org regards, gicio
4
by: Peter Rilling | last post by:
Does VS.NET 2005 Professional support integrated unit testing, or is that only with the team system?
72
by: Jacob | last post by:
I have compiled a set og unit testing recommendations based on my own experience on the concept. Feedback and suggestions for improvements are appreciated: ...
4
by: Dat AU DUONG | last post by:
Hi, I am new to Unit testing, could you tell me where I could find information (hopefully step by step) and what is the benefit of unit testing. I am a sole developer in a company, therefore I...
176
by: nw | last post by:
Hi, I previously asked for suggestions on teaching testing in C++. Based on some of the replies I received I decided that best way to proceed would be to teach the students how they might write...
48
by: Ark Khasin | last post by:
Unit testing is an integral component of both "formal" and "agile" models of development. Alas, it involves a significant amount of tedious labor. There are test automation tools out there but...
5
by: Ben Finney | last post by:
Howdy all, PEP 299 <URL:http://www.python.org/dev/peps/pep-0299details an enhancement for entry points to Python programs: a module attribute (named '__main__') that will be automatically called...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.