首页    期刊浏览 2024年11月26日 星期二
登录注册

文章基本信息

  • 标题:Fixture Setup through Object Notation for Implicit Test Fixtures
  • 本地全文:下载
  • 作者:Douglas Hiura Longo ; Beatriz Wilges ; Patr�cia Vilain
  • 期刊名称:Journal of Computer Science
  • 印刷版ISSN:1549-3636
  • 出版年度:2015
  • 卷号:11
  • 期号:6
  • 页码:794-803
  • DOI:10.3844/jcssp.2015.794.803
  • 出版社:Science Publications
  • 摘要:This paper presents an approach to the development of fixture setup code through an objects notation that is applied on implicit test fixtures. This approach is integrated with a management mechanism to call the fixture setup code from the JUnit test framework. The objective of this work is to enable the reuse of fixtures across multiple test classes avoiding the management and the creation of fixtures within the test itself. The evaluation of this proposal was performed during test-driven development of a Web-based system. Results present approximately 190 fixture setups with a reutilization average of about 13 times, observed in an analysis with 2200 h of development. Initial results show the growing reutilization of fixture setups during test development, with significant test code volume reduction.
  • 关键词:Fixture Setup; Test Fixture; JUnit; Test-Driven Development; Object Notation
国家哲学社会科学文献中心版权所有