Skip to main content
Wednesday, May 7, 2014 - 3:00pm - 4:00pm
Test Automation
W15

Implementing Testing for Behavior-Driven Development Using Cucumber

With the behavior-driven development (BDD) methodology, development teams write high level, plain natural language tests to describe and exercise a system. Unfortunately, it is difficult to develop BDD tests that encompass all interfaces and write tests that can be reused in multiple scenarios. Specifying BDD tests to run as part of different test scenarios without duplicating work frequently requires substantial effort and rework. But Cucumber provides a robust framework for writing BDD tests. Max Saperstone shows how—by using Cucumber’s flexible structure in combination with the Java language—to write singular tests to run over multiple testing interfaces. Building on Cucumber basics, this framework provides a generic model for testing any application. Additionally, Max shares some valuable suggestions to build on standard Cucumber reports, gives additional information for debugging and traceability, and describes test runners and their inputs to help you create more dynamic testing scenarios.

Max Saperstone, Coveros

For almost a decade, Max Saperstone has been a test engineer focusing on test automation and the continuous integration/continuous delivery process. Max specializes in open source tools—Selenium, JMeter, AutoIT, Cucumber, and Chef. He has led several testing automation efforts, including developing an automated suite focused on web-based software to operate over several applications.

read more