Skip to main content

ReTest: Framework for Applying TDD in the Development of Non-deterministic Algorithms

  • Conference paper
  • First Online:
Agile Methods (WBMA 2016)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 680))

Included in the following conference series:

Abstract

TDD is a technique traditionally applied in applications with deterministic algorithms, when you have a known input and an expected result. Therefore, the challenge is to implement this technique in applications with non-deterministic algorithms, specifically when several random choices need to be made during its execution. The purpose of this paper is to present the ReTest framework, a JUnit extension, that allows an extension of the TDD technique, to enable its use for the development of non-deterministic algorithms.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Guerra, E., Aniche, M.: Achieving quality on software design through test-driven development. In: Mistrik, I., Soley, R., Ali, N., Grundy, J., Tekinerdogan, B. (eds.) Software Quality Assurance, pp. 201–220. Elsevier Inc., Amsterdam (2016)

    Chapter  Google Scholar 

  2. Beck, K.: Test-Driven Development by Example. Addison-Wesley, Boston (2002)

    Google Scholar 

  3. Astels, D.: Test-Driven Development: A Practical Guide. Prentice Hall, Englewood Cliffs (2003)

    Google Scholar 

  4. Floyd, R.W.: Nondeterministic algorithms. J. ACM 14, 636–644 (1967)

    Article  MATH  Google Scholar 

  5. Mackinnon, T., Craig, P., Freeman, S.: Endotesting: unit testing with mock objects. In: Succi, G., Marchesi, M. (eds.) Extreme Programming Examined, pp. 287–301. Addison-Wesley Longman Publishing Co., Redwood City (2001)

    Google Scholar 

  6. Freeman, S., Mackinnon, T., Pryce, N., Walnes, J.: Mock roles, objects. In: Companion to the 19th Annual ACM SIGPLAN Conference on Object-oriented Programming Systems, pp. 236–246. ACM (2004)

    Google Scholar 

  7. Beck, K.: Extreme Programming Explained. Addison-Wesley Professional, Boston (2004)

    Google Scholar 

  8. Martin, R.: Agile Software Development, Principles, Patterns, and Practices. Prentice Hall, Englewood Cliffs (2002)

    Google Scholar 

  9. Freeman, S., Pryce, N.: Growing Object-Oriented Software, Guided by Tests. Addison-Wesley Professional, Boston (2009)

    Google Scholar 

  10. Beck, K., Gamma, E.: JUnit test infected: programmers love writing tests. In: Dwight Deugo, pp. 357–376. More Java Gems (2000)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to André A. S. Ivo .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Ivo, A.A.S., Guerra, E.M. (2017). ReTest: Framework for Applying TDD in the Development of Non-deterministic Algorithms. In: Silva da Silva, T., Estácio, B., Kroll, J., Mantovani Fontana, R. (eds) Agile Methods. WBMA 2016. Communications in Computer and Information Science, vol 680. Springer, Cham. https://doi.org/10.1007/978-3-319-55907-0_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-55907-0_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-55906-3

  • Online ISBN: 978-3-319-55907-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics