Retrofitting an acceptance test framework for clarity

R. Mugridge, E. Tempero
{"title":"Retrofitting an acceptance test framework for clarity","authors":"R. Mugridge, E. Tempero","doi":"10.1109/ADC.2003.1231457","DOIUrl":null,"url":null,"abstract":"An XP customer needs to write and check acceptance tests. However, the format for defining the tests needs to be clear. Many acceptance test approaches use arcane formats which do not promote clarity for the customer, due to a conflict of interest between the complexities of automation and the needs of the customer. We discuss the evolution of acceptance tests to improve their clarity for the customer. Sat is an acceptance test system for testing socket-based servers with multiple clients. The first version used an XML file to define the tests in a test suite. Any errors detected were written to a text log. There were two problems with this first version. The XML format made it difficult to read and edit the tests. When an error was given, it was not easy to identify the place in the test where the problem occurred. Sat was altered to make use of Fit, a testing framework that uses HTML tables for defining tests and reporting any errors. We found the new version considerably easier to use. The tabular form makes it much simpler to read and alter the tests. Any errors are reported in a copy of the tables, in the place where they occur. We have also found it convenient to include information about the tests in the HTML, providing a form of \"literate testing\".","PeriodicalId":325418,"journal":{"name":"Proceedings of the Agile Development Conference, 2003. ADC 2003","volume":"204 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2003-06-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the Agile Development Conference, 2003. ADC 2003","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ADC.2003.1231457","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

An XP customer needs to write and check acceptance tests. However, the format for defining the tests needs to be clear. Many acceptance test approaches use arcane formats which do not promote clarity for the customer, due to a conflict of interest between the complexities of automation and the needs of the customer. We discuss the evolution of acceptance tests to improve their clarity for the customer. Sat is an acceptance test system for testing socket-based servers with multiple clients. The first version used an XML file to define the tests in a test suite. Any errors detected were written to a text log. There were two problems with this first version. The XML format made it difficult to read and edit the tests. When an error was given, it was not easy to identify the place in the test where the problem occurred. Sat was altered to make use of Fit, a testing framework that uses HTML tables for defining tests and reporting any errors. We found the new version considerably easier to use. The tabular form makes it much simpler to read and alter the tests. Any errors are reported in a copy of the tables, in the place where they occur. We have also found it convenient to include information about the tests in the HTML, providing a form of "literate testing".
改进验收测试框架以使其更清晰
XP客户需要编写并检查验收测试。但是,定义测试的格式必须清晰。由于自动化的复杂性和客户的需求之间的利益冲突,许多验收测试方法使用晦涩的格式,这对客户来说并不是很清晰。我们讨论验收测试的演变,以提高它们对客户的清晰度。Sat是一个验收测试系统,用于测试具有多个客户端的基于套接字的服务器。第一个版本使用XML文件来定义测试套件中的测试。检测到的任何错误都被写入文本日志。第一个版本有两个问题。XML格式使得阅读和编辑测试变得困难。当给出错误时,很难确定测试中问题发生的位置。Sat被修改为使用Fit, Fit是一个测试框架,它使用HTML表来定义测试并报告任何错误。我们发现新版本好用得多。表格形式使得阅读和修改测试更加简单。任何错误都报告在表的副本中,在它们发生的地方。我们还发现在HTML中包含有关测试的信息很方便,提供了一种“识字测试”的形式。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信