Behaviour-Driven Development (BDD) has emerged in the last years as a powerful methodology to specify testable and executable user requirements through stories and scenarios. With the support of external testing frameworks, BDD stories can be used to automatically assess the behavior of a fully functional software system. This article describes a toolset which extends BDD with the aim of providing automated assessment also for user interface design artifacts to ensure their consistency with the user requirements since the beginning of a software project. The approach has been evaluated by exploiting previously specified user requirements for a web system to book business trips. Such requirements gave rise to a set of BDD stories that have been refined and used to automatically assess the consistency of task models, graphical user interface (GUI) prototypes, and final GUIs of the system. The results have shown that our approach was able to identify different types of inconsistencies in the set of analyzed artifacts and consistently keep the semantic traces between them.
翻译:在过去几年中,行为驱动开发(BDD)作为一种强有力的方法,通过故事和情景来具体确定可测试和可执行的用户要求。在外部测试框架的支持下,BDD故事可以用来自动评估一个功能齐全的软件系统的行为。本文章描述一个工具,扩展BDD工具,目的是也为用户界面设计工艺品提供自动评估,以确保它们与软件项目开始以来的用户要求保持一致。该方法通过利用先前规定的用户要求来评估一个网络系统来预订商务旅行。这些要求产生了一套BDD故事,经过完善,用于自动评估任务模型、图形用户界面原型和系统最终图形用户界面的一致性。结果显示,我们的方法能够查明一组分析的工艺品的不同类型不一致之处,并始终保持它们之间的语义痕迹。