Test Automation has been getting easier and easier with each technological development. Thanks to the WebDriver interface, a single test can be built to run against different browsers. The Selenium project uses the WebDriver interface to allow coding tests in various languages. However, developing and maintaining Selenium tests end up becoming a whole development effort unto itself. Wouldn't it be nice to have a programming language that reads more like English? Where tests all follow the same pattern? Where the language aligns well with the requirements that are to be verified?
This talk will focus on bringing together a few technologies that take you to the next higher level of coding using Domain Specific Languages (DSL); Groovy, Geb, and Spock. Groovy enables the authoring of DSLs. Geb is a DSL that makes Selenium coding simpler and allows you to do more with less code. And Spock is a more logical way of writing tests (actually, they are called Specifications) that read like the requirements being verified.
What does this mean to you, the developer, the test engineer, the stakeholder? More efficient testing by having less test code to maintain, a coding interface that enables automating the creation of test stubs, and a closer alignment of the tests to the requirements.
We will also build a Selenium Grid of various Operating Systems and Browsers using Docker.
Finally, we will run our Geb+Spock tests against our Selenium Grid.