Cucumber BDD
Автор: Mike Duncan
Загружено: 2019-12-24
Просмотров: 143
Описание:
This is test automation of a web app using Java, Cucumber BDD, Selenium, and OpenCV.
The video starts by showing the Feature files. Feature files are written in the Gherkin syntax. In BDD, a test is a "scenario" and a data-driven test is a "scenario outline". Each scenario is made up of steps. Steps can be "given", "when", "then", "and", and "but". Each step is linked to executable Java code by an annotation on a method. Those methods are known as "step definitions".
In this example, an automation framework has been built using Selenium, OpenCV, and the Page-Object Model. That automation framework is imported and used within the BDD step definitions to code each step.
The output of Cucumber is a JSON in the Cucumber format. In this example, that JSON is pulled into memory with Jackson and a Word report is programmatically generated with Apache POI.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: