Cucumber_testing - henk52/knowledgesharing GitHub Wiki

Testing using Cucumber

Introduction

Provide an overview of the Cumcumber testing framework.

Cucumber allows you

Purpose

TODO make starting what cucumber is testing, somthing that is handled before cucumber is run This way the cucumber test can be run locally and against deployed services

Vocabulary

  • feature
  • steps
  • world
  • rule - used to group together several scenarios belonging to the business rule.
    • No additional work is required on the implementation side to support Rules.
  • gherkin

References

overview

TODO micro SwArcDoc

Feature: Animal feature
    
  Rule: Hungry cat becomes satiated
      
    Scenario: If we feed a hungry cat it will no longer be hungry
      Given a hungry cat
      When I feed the cat
      Then the cat is not hungry