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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights 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
DOI: https://doi.org/10.1007/978-1-4842-2638-4_2
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2637-7
Online ISBN: 978-1-4842-2638-4
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books