Test driven development on the cheap: text files and explicit scaffolding

  • Authors:
  • Keith W. Miller

  • Affiliations:
  • University of Illinois at Springfield, One University Plaza, Springfield, IL

  • Venue:
  • Journal of Computing Sciences in Colleges
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

Test driven development (also known as test-first development) is a technique associated with Extreme Programming and Agile Programming methods.[1] Most advocates of test driven development use automated testing tools to facilitate bookkeeping and to encourage frequent and thorough regression testing throughout development. These tools (such as JUnit, NUnit and XUnit) are increasingly popular, and deservedly so. However, in this paper, we suggest a simplified approach that may sometimes be preferable when introducing the idea of test driven programming: using a textfile and a straightforward testing harness. This technique will probably be of limited use to experienced test driven developers, but novices (both students and faculty) may find it a simpler way to understand how test-driven development works without having to install and learn an automated testing system.