Cucumber and Gherkin

  • Cucumber is a testing framework that lets you write tests in english
  • Tests are readable and verifiable documentation
  • Uses a syntax called Gherkin to write tests
    • Given... <sets up the initial state before testing>
    • When... <trigger some event>
    • Then... <test your conditions>

18 / 21