Tool for Generating Behavior-Driven Development Test-Cases
Инструмент для генерации тестовых сценариев на основе разработки через поведение
2020-04-27
SCID: 54.1/hvn49h4x
Discuss with AI
Behavior-Driven DevelopmentCodeception frameworkGherkin languageautomated web testingtest-case code generation
Figures from the paper
Abstract (AI)
Background: Testing using Behavior-Driven Development (BDD) techniques is one of the practices of Agile software development. This technique composes a test-case based on a use case scenario, for web application acceptance tests.Objective: In this study, we developed a tool to generate test case codes from BDD scenario definitions to help and facilitate practitioners to conduct testing.Methods: The generated test case code is made according to the codeception framework format so that it can be directly executed by the tester. The procedure is performed as follows: map the correlation of the language used in BDD (gherkin language) and the code syntax of the test code in the codeception framework, designed the GUIs in such a way that users can easily transform the Use Case Scenario, built the tool so that it can generate test cases codes. Evaluation is done by gathering respondents; ask to run the application and gathering feedback from respondents.Results: This tool can generate a codeception test-case file based on the BDD scenario. Generated test cases can be directly used on codeception tools. The results of the evaluation show that the tools can help entry-level programmers in developing automated tests.Conclusion: The tool can help user especially entry-level programmers to generate BDD test-case and make easy for the users for testing the web applications.
Key Findings
1
A tool was developed to automatically generate executable Codeception test-case files from Behavior-Driven Development scenarios written in Gherkin.
2
Evaluation feedback indicates that the tool helps entry-level programmers develop automated web-application tests more easily.
3
Generated test cases can be directly executed using Codeception tools without requiring additional code conversion.
4
The approach maps Gherkin language constructs to Codeception test-code syntax and provides a GUI for transforming use-case scenarios.
5
The tool is intended to simplify BDD test-case generation and web-application testing for users with limited programming experience.
Research Object
BDD scenario definitions for web application acceptance testing
Research Subject
Automated generation of executable Codeception test-case code and its usability for entry-level programmers
Publication Details
Publication Date
2020-04-27
Journal
Publisher
ISSN
Open access PDF
Access Type
Author Information
Download PDF
Subscribe to digest