The University of Auckland

Project #116: Towards Automated Behaviour-Driven Development

Back

Description:

Behaviour-Driven Development (BDD) is a collaborative software development methodology involving developers, QA professionals, and non-technical stakeholders. It centres on constructing human-readable scenarios in Gherkin, detailing the desired system behaviour. Selenium test cases, specifically designed for the user interface (UI), play a pivotal role in BDD by directly implementing Gherkin scenarios—establishing a clear and direct one-to-one mapping between the articulated behaviour and its corresponding test implementation. This approach ensures a seamless alignment of software development with specified business objectives.

This research project aims at designing and implementing a novel technique to automating the creation of Gherkin scenarios and their corresponding Selenium test cases within the context of BDD. By mining Gherkin scenarios from GitHub repositories, we aim to analyse existing patterns and structures, subsequently developing techniques for the automatic generation of Gherkin scenarios. Additionally, the project aims to propose methods to seamlessly derive Selenium test cases from the generated scenarios. The methodology involves data collection, natural language processing, machine learning, and integration with Selenium. We plan to investigate the use of LLMs (e.g., ChatGPT) to automate some of the scenarios and test cases generation. You are recommended to choose this project if you are also enrolled in SOFTENG754, as BDD will be covered in the course.

 

Type:

Undergraduate

Outcome:

Prerequisites

None

Specialisations

Categories

Supervisor

Co-supervisor

Team

Lab

HASEL (405.662, Lab)