Legislation-driven development of a Gift Aid system using Event-B
Open Access
- 25 May 2020
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Formal Aspects of Computing
- Vol. 32 (2-3) , 251-273
Abstract
This work presents our approach to formally model the Swiftaid system design, a digital platform that enables donors to automatically add Gift Aid to donations made via card payments. Following principles of Behaviour-Driven Development, we use Gherkin to capture requirements specified in legislation, specifically the UK Charity (Gift Aid Declarations) Regulations 2016. The Gherkin scenarios provide a basis for subsequent formal modelling and analysis using Event-B, Rodin and ProB. Interactive model simulations assist communication between domain experts, software architects and other stakeholders during requirements capture and system design, enabling the emergent system behaviour to be validated. Our approach was employed within the development of the real Swiftaid product, launched by Streeva in February 2019. Our analysis helped conclude that there was not a strong enough business case for one of the features, whichwas shown to provide nominal user convenience at the expense of increased complexity. This work provides a case study in allying formal and agile software development to enable rapid development of robust software.Keywords
Funding Information
- Innovate UK (133294)
- Innovate UK (133294)
- Innovate UK (133294)
- Innovate UK (133294)
This publication has 20 references indexed in Scilit:
- Foundations for using linear temporal logic in Event-B refinementFormal Aspects of Computing, 2016
- Using B and ProB for Data Validation Projects2016
- The behavioural semantics of Event-B refinementFormal Aspects of Computing, 2014
- Business Information Sector2013
- Deployment in the Space Sector2013
- Improving Railway Data Validation with ProB2013
- Experience of Deployment in the Automotive Industry2013
- Rodin: an open toolset for modelling and reasoning in Event-BInternational Journal on Software Tools for Technology Transfer, 2010
- ProB: A Model Checker for B2003
- An axiomatic basis for computer programmingCommunications of the ACM, 1969