do simple repeKKve tasks. The second you have humans doing repeKKve tasks, all the computers get together late at night and laugh at you” “Every Kme you do something for the third Kme, automate it. You’ll be doing it a million Kmes” -‐ Neal Ford
tools exist, but tend to be a poor fit for Agile environments -‐ TesKng viewed as a luxury (an add-‐on) -‐ Available to few ($$$$ licensing) -‐ Discourages collecKve ownership -‐ Difficult to use good engineering pracKces -‐ Difficult to integrate with ConKnuous IntegraKon process (lack of scriptability/headless mode)
applicaKon used AcKveX • Some controls were regular HTML (albeit machine generated) -‐ WebDriver • Perhaps we could use some kind of hybrid approach to test automaKon? -‐ WebDriver + X, Y or Z?
images • Can be confused when different regions of the screen look the same • Tests easily broken by small changes in the UI • ComparaKvely slow to execute
bad, resulKng in fragile test suites -‐ Small changes can break many tests which requires significant maintenance -‐ Frequently see test automaKon abandoned as a result of this • Record + playback tools make it difficult to introduce abstracKons to remove duplicaKon
experimentaKon • Generates Java code under the covers (for both Seibel and HTML automaKon) -‐ Liberate the API from tooling • Creates executable JWG files as test arKfacts -‐ Understand the format of these files so we can create them programmaKcally
pracKces (abstracKons, code refactoring etc) • Ability to integrate test arKfacts with ConKnuous IntegraKon process • A maintainable test suite for an Agile team
creaKon of state e.g. Incidents programmaKcally • Simple key/value interface • Gave us the ability to replace the use of some of our Workflows with faster running API based Workflows • Objects created by API based workflows could be looked up in the browser
to find challenges/quirks along the way • ConKnuous IntegraKon is possible • APIs are your friends -‐ seek them out • AbstracKons are crucial, especially with machine generated code and environmental differences
licensed under CreaKve Commons, hkp://www.geograph.ie/ photo/2261863 • Alan Chia, A pile of Lego blocks, of assorted colours and sizes, licensed under CreaKve Commons, hkp://en.wikipedia.org/wiki/ File:Lego_Color_Bricks.jpg