Jump to content

Continuous test-driven development

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Widefox (talk | contribs) at 18:37, 9 March 2019 (already in body per WP:SEEALSO / WP:OVERLINK , fix ref locn, Eng, sep lead, WP:ELNO -> refs). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Continuous test-driven development (CTDD)[1] is a software development practice that extends test-driven development (TDD) by means of automatic test execution in the background, sometimes called continuous testing.[2]

Practice

In CTDD the developer writes a test first but is not forced to execute the tests manually. The tests are run automatically by a continuous testing tool running in the background. This technique can potentially reduce the time waste resulting from manual test execution by eliminating the need for the developer to start the test after each phase of the normal TDD practice: after writing the (initially failing) test, after producing the minimal amount of code for the test to pass and after refactoring the code.

Continuous testing tools

  • Infinitest open source Eclipse and IntelliJ plug-in[3]
  • NCrunch commercial continuous testing plug-in for Visual Studio[4]
  • Autotest - continuous testing for Ruby[5]
  • AutoTest.NET - autotest for .NET[6]
  • AutoTest.NET fork for CTDD[7]
  • Mighty-Moose - packaged version of AutoTest.NET[8]
  • Wallaby.js - continuous testing for JavaScript/TypeScript/CoffeeScript[9]

References

  1. ^ Madeyski, L. and Kawalerowicz, M. Continuous Test-Driven Development - A Novel Agile Software Development Practice and Supporting Tool, Proceedings of the 8th International Conference on Evaluation of Novel Approaches to Software Engineering (ENASE), 2013, Angers, France, 4–6 July 2013: p.260-267.
  2. ^ Saff, D. and Ernst, M. D. Reducing wasted development time via continuous testing, Fourteenth International Symposium on Software Reliability Engineering, 2003, Denver, USA, 17-20 November 2003: p.281-292.
  3. ^ https://infinitest.github.io/
  4. ^ http://www.ncrunch.net/
  5. ^ https://github.com/grosser/autotest
  6. ^ https://github.com/continuoustests/AutoTest.Net
  7. ^ https://github.com/ImpressiveCode/ic-AutoTest.NET4CTDD/
  8. ^ http://www.continuoustests.com/
  9. ^ http://wallabyjs.com/