Bret has mentioned on any number of occasions that one of the hardest
things for a new user of Watir to grasp is how to go about building a
test framework or a test harness.

I wrote a simple, but useful, test harness in about 50 lines of code,
that demonstrates a few important principles of a test harness here:
http://chrismcmahonsblog.blogspot.com/2009/04/ui-test-framework-design-using-watir.html

This code is a very simple emulation of the harness I've been using
for the past two years, which is currently supporting more than 10,000
individual assertions about the behavior of an application, so I know
this scheme is effective and scalable.

Please note:  I wrote this demo as part of my campaign to get a new
job.  If you use it for the same purpose, it would behoove you to say
where you got it.  It might also be helpful to make it a little
fancier.   Also, if you use it as a basis for your own test harness,
I'd appreciate it if you let me know.

-Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to