Groovy, Spock & Geb

Spock is a testing and specification framework for Java and Groovy applications. What makes it stand out from the crowd is its beautiful and highly expressive specification language. Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and continuous integration servers.

Geb is a browser automation solution. It brings together the power of WebDriver, the elegance of jQuery content selection, the robustness of Page Object modelling and the expressiveness of the Groovy language. It can be used for scripting, scraping and general automation — or equally as a functional/web/acceptance testing solution via integration with testing frameworks such as Spock, JUnit & TestNG.

Temario

    • Data type: Strings

    • Data type: Collections

    • Control flow, functions and closures

    • POO with Groovy. Classes and interfaces

      • MarkupBuilder and XmlSlurper. Working with XML

      • GroovySQL and data bases

      • Groovy Builders

      • Property expansion, Metaprogramming and Groovy DSL

      • Using Maven

      • Using Gradle

      • Using Eclipse

      • Specifications

      • Features and Fixtures

    • Blocks

    • Conditions

    • Data driven testing

    • Exceptions

    • Iteractions

    • Extensions

      • Data bases

      • Spring

      • Advanced features

    • Configure and Install

    • Object Browser

    • Interact with content

    • Pages

    • Modules

    • Implicit asserts

    • Javascript and async tests