Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Spock configuration variants

Spock configuration variants

This presentation and the linked GitHub sample project shows several interesting configuration variants for system tests in different environments.

Markus Hanses

November 09, 2018
Tweet

More Decks by Markus Hanses

Other Decks in Programming

Transcript

  1. 2

  2. 4

  3. Solution Testcases DEV PREVIEW LIVE Spock Specification URL for DEV

    URL for LIVE URL for PREVIEW DEV Config PREVIEW Config LIVE Config 7
  4. 8

  5. Configuration variants • Custom Groovy config object • Groovy ConfigSlurper

    • Groovy JSONSlurper • snakeyml • Spring Boot (Sidecar pattern) ...several other variants are possible! 9
  6. 10