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.
Artificial intelligence in the post-deep learning era
Implementing Testing for Behavior-Driven Development Using Cucumber
1. W15
Test Automation
5/7/2014 3:00:00 PM
Implementing Testing for
Behavior-Driven Development
Using Cucumber
Presented by:
Max Saperstone
Coveros
Brought to you by:
340 Corporate Way, Suite 300, Orange Park, FL 32073
888-268-8770 ∙ 904-278-0524 ∙ sqeinfo@sqe.com ∙ www.sqe.com
2. 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. Max also headed a major project developing an automated testing
structure to run Cucumber tests over multiple test interfaces and environments, while
developing a system to keep test data “ageless.” He is currently developing a new testing
architecture for SecureCI to allow testing of multiple interfaces, custom reporting, and minimal
test upkeep.