Back to search

University of Guelph

BHive: Behaviour-Driven Development Meets B-Method

Abstract

dc:description.abstract

Behaviour-Driven Development (BDD) is an agile, “outside-in” approach to software development built upon semi-formal mediums for specifying the behavior of a sys- tem as it would be observed externally. Through the representation of a system as a collection of user stories and scenarios using BDD's notation, practitioners automate acceptance tests using examples of desired behavior for the envisioned system. A for- mal model created in concert with BDD tests would provide valuable insight into test validity and enhance the visibility of the problem domain. This work called BHive builds upon the formal underpinnings of BDD scenarios by mapping their “Given,” “When,” and “Then” statements to “Precondition,” “Command,” and “Postcondi- tion” constructs as introduced by Floyd-Hoare logic. We posit that this mapping allows for a B-Method representation to be created and that such a model is useful for exploring system behavior and exposing gaps in requirements and test plans. In combining BDD with B-Method through BHive, a bridge between the worlds of agile and formal is created, reaping benefits of both approaches. We also outline exten- sions to BDD tooling required for the described integration and present benefits of the BHive approach to integrating formalism within a BDD project.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Department thesis:degree_department
School of Computer Science
Grantor dc:publisher
University of Guelph
Year dc:date.issued
2017

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Carter, John
Advisor dc:contributor.advisor
  • Gardner, William

Subjects

dc:subject × 6

Rights

dc:rights
Statement dc:rights
  • Attribution-NonCommercial-ShareAlike 2.5 Canada
Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
http://hdl.handle.net/10214/10402

Chain of custody

source
Harvested from
University of Guelph
Base URL
atrium.lib.uoguelph.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Carter, John. BHive: Behaviour-Driven Development Meets B-Method. University of Guelph, 2017. http://hdl.handle.net/10214/10402