472,961 Members | 2,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,961 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 1192
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

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.