Abstract
This chapters adds two new Test Doubles to your toolbox. You'll learn how to bypass slow or stateful dependencies such as the local storage using a Fake and how to streamline the usage of required but behavior-netural dependencies with a Dummy.
This is a preview of subscription content, access via your institution.
Buying options
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2021 Gio Lodi
About this chapter
Cite this chapter
Lodi, G. (2021). Keeping Tests Isolated with Fakes and Clear with Dummies. In: Test-Driven Development in Swift. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-7002-8_15
Download citation
DOI: https://doi.org/10.1007/978-1-4842-7002-8_15
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-7001-1
Online ISBN: 978-1-4842-7002-8
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books