Writing Tests with Gherkin & Zephyr
This course is an introduction to writing tests using Gherkin syntax and Zephyr. It is delivered with a strong emphasis on practical exercises in translating existing manual tests for existing code into manual tests using Gherkin syntax.
Contact us for pricing
Learning ObjectivesParticipants will learn:
• How to write tests using the Gherkin syntax;
• How tests written using Gherkin relate to existing manual tests written using Zephyr;
• How tests written in Gherkin relate to existing user stories;
• How tests written using Gherkin syntax may be executed manually;
• How tests written using Gherkin syntax might be automated in the future.
Introduction to GherkinOverview;
How Gherkin works;
An environment for authoring Gherkin tests.
Zephyr to Gherkin - getting startedMapping Zephyr test cases to Gherkin tests;
• Zephyr vocabulary versus Gherkin vocabulary.
Reading user stories;
Creating step definitions;
Implementing step definitions;
Testing our test cases
Zephyr to Gherkin - more detailStep definitions: Given – When – Then;
More on Features;
More on Scenarios;
Adapting Manual Tests in Zephyr to GherkinThis section is intended to use existing test cases authored in Zephyr.
Reading existing tests;
Rewriting as Given – When – Then;
Manual test execution;
Old vs New: How do they compare?
Writing maintainable tests;
Guidelines for preventing defects.
AutomationA demonstration of automation of Gherkin tests using Cucumber.
• Automating steps;
• Capturing arguments;
• Returning results.
GherkinZephyrSoftware TestSoftware TestingCucumber