Saturday, March 21, 2009

Home-Brew Test Automation (Great Document!!)

http://www.io.com/~wazmo/papers/home_brew_test_automation_20030312.pdf

Home-Brew Test Automation

Open Source
Browser Simulation
HttpUnit, Russell Gold
¢
Browser simulation in Java.
Popular & well-extended.
¢
http://www.httpunit.org/
jWebUnit, Thoughtworks
¢
A refinement on HttpUnit
and FIT. Java-based.
¢
http://jwebunit.sourceforge.net
Canoo WebTest,
Canoo Engineering AG
¢
Java-based browser
simulation with XML.
¢
http://webtest.canoo.com
HTTP::WebTest, Richard
Anderson and Ilya Martynov
¢
Browser simulation in Perl.
¢
http://search.cpan.org/author/I
LYAM/HTTP-WebTest-2.00/
WebUnit, Yuichi Takahashi
¢
Browser simulation in Ruby.
¢
http://www.xpenguin.biz/downl
oad/webunit/index-en.html
Puffin, Keyton Weissinger
¢
Browser simulation in
Python and XML.
¢
http://www.puffinhome.org/
Web Server
Web
Browser
Automation
Library
H
TTP
/
H
T
M
L
H
T
T
P
/
H
T
M
L
More Tools
¢
http://www.junit.org/news/extension/web/index.htmPage 20

20
Open Source
Browser Automation
Cliecontroller,
Chris Morris
¢
IE and .Net Windows
forms automation in
Ruby
¢
http://www.rubygarden.org
/ruby?RubyForTesting
Samie,
Henry Wasserman
¢
IE Browser
automation in Perl
¢
http://samie.sourceforge.net/
Web Server
Web
Browser
Automation
Library
Automation
InterfacePage 21

21
Open Source
Java GUI Drivers
Marathon, Jeremy Stell Smith et al, Thoughtworks
¢
Java Swing GUI driver using Python scripts. Includes a
recorder.
¢
http://marathonman.sourceforge.net/
Abbot, Timothy Wall
¢
Java GUI driver and recorder using XML scripts.
¢
http://abbot.sourceforge.net/
Pounder, Matthew Pekar
¢
Java GUI driver and recorder.
¢
http://pounder.sourceforge.net/
More Tools
¢
http://www.junit.org/news/extension/gui/index.htm
¢
http://www.superlinksoftware.com/cgi-bin/jugwiki.pl?TestingGUIsPage 22

22
Other Open Source Test Libraries
Expect, Don Libes
¢
Command line driver in TCL.
Long-established.
¢
http://expect.nist.gov/
Win32::GuiTest,
Ernesto Guisado
¢
Windows GUI driver in Perl.
Popular.
¢
http://search.cpan.org/author/E
RNGUI/Win32-GuiTest-1.3/
Android, Larry Smith
¢
Unix/Linux GUI driver in Tcl.
¢
http://www.wildopensource.co
m/larry-projects/android.html
JUnitPerf, Mike Clark
¢
Performance measurement for
existing JUnit-based tests.
¢
http://www.clarkware.com/soft
ware/JUnitPerf.html
OpenSTA, Cyrano
¢
Web performance testing driver
and recorder. Uses a
"proprietary" scripting
language.
¢
http://opensta.org/
Avignon, NOLA Comp Services
¢
XML integration with JUnit.
¢
http://www.nolacom.com/avign
on/
Framework for Integrated
Test (FIT), Ward Cunningham
¢
Parses tests in HTML. Supports
multiple languages.
¢
http://fit.c2.comPage 23

23
Building Your
Own Tool
This is getting easier
¢
Automation interfaces are now standard
¢
You only have to support one technology
¢
Use and extend open source tools
Approaches
¢
Capture/Replay
¢
Scripting
¢
Data-driven
Maintenance is still a concern
Beyond Unit Testing
Scripting Languages
Interface Drivers
V Building Your Own Tool
Test Description Languages
Coaching TestsPage 24

24
Test Interfaces
Which interface will be easier to test?

No comments:

Post a Comment