Documente Academic
Documente Profesional
Documente Cultură
Test Environment
Page 2 of 7
Sponsored by
structure and organize the automation to get the best results). The second
half of the book comprised a number of case studies from other people,
Contents
Test automation:
Exploring automation
case studies in Agile
development
Succeeding in test
automation:
Collaboration between
Agile testers and
programmers
Page 3 of 7
Sponsored by
Contents
SSQ: Its very interesting that you, again, include such a variety of
Test automation:
Exploring automation
case studies in Agile
development
Succeeding in test
automation:
Collaboration between
Agile testers and
programmers
Page 4 of 7
Sponsored by
Contents
Test automation:
Exploring automation
case studies in Agile
development
Succeeding in test
automation:
Collaboration between
Agile testers and
programmers
the right people to write the automated test code. Testers know the right
things to test. A tester-programmer pair can decide together which tests
should be automated, and how. They should at least start this process before
coding begins, so that the programmer can design the code in a way that will
make it easier to code automated tests.
There are many test frameworks that promote this tester-programmer
collaboration. For example, my own team uses FitNesse for tests at the API
level, behind the GUI. For each user story that can be tested at this level, a
tester gets together with a programmer working on the story to discuss the
test design, and possibly write the first simple test. The programmer writes
the fixture which will take test inputs, pass it to production code which will
operate on it, and return the results to compare to expected results. The
tester can write multiple test cases with different inputs and expected
outputs. We follow a similar process automating GUI tests with Selenium 2.0
and Webdriver. The programmers write page objects for the various GUI
pages in Groovy using a Geb framework, and testers can write multiple test
cases using the page objects. This collaboration helps ensure properly
designed test code, which is maintainable for the long term and provides a
good return on investment.
The programmers on my team feel most comfortable talking to someone who
speaks their language, who has some technical knowledge, who uses the
same or similar integrated development environment (IDE) as they do, who
has a basic grasp of object-oriented concepts. If youre a tester without much
programming experience, start familiarizing yourself with some basic
concepts. A book such as Everyday Scripting with Ruby: For Teams, Testers
and You (Brian Marick, 2006) provides examples you can work through to
develop familiarity with object-oriented concepts, and programming
terminology, even if your team doesnt use Ruby. For some introductory
object-oriented design knowledge, check out Keep it Dry, Shy, and Tell the
Other Guy by Dave Thomas and Andy Hunt. Ask a programmer to help you
install the IDE she uses, and help you create a project where you can check
out your teams production and test code
Page 5 of 7
Sponsored by
If you dont have any access to programmers perhaps you work for a
Contents
Test automation:
Exploring automation
case studies in Agile
development
testing outsourcing company the resources in the above paragraph will get
you started with skills you need to design your own automation. If you cant
pair with a programmer, pair with other testers on your team to learn
together.
Succeeding in test
automation:
Collaboration between
Agile testers and
programmers
Page 6 of 7
Sponsored by
Contents
Test automation:
Exploring automation
case studies in Agile
development
Succeeding in test
automation:
Collaboration between
Agile testers and
programmers
webcasts, podcasts, videos, virtual trade shows, research reports and more
Page 7 of 7
Sponsored by