Skip to main content

Katas

  • Chapter
  • First Online:
Test Driven Development in Ruby
  • 1264 Accesses

Abstract

Constraints are a way to force developers to write code in a different way. Developers learn new coding techniques by enforcing the constraints. The constraints are applied so as to build on the existing solution. We will discuss the order of the test cases, implementation independent tests, testing random behavior, testing time-dependent behavior, difference reduction, using mocks as a design technique, the open-closed principle, and testing guidelines such as testing precisely and concretely.

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

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Bala Paranj

About this chapter

Cite this chapter

Paranj, B. (2017). Katas. In: Test Driven Development in Ruby. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2638-4_2

Download citation

Publish with us

Policies and ethics