Abstract
Before diving into examples of how to test Python code, the nature of tests must be discussed in more detail. Why do we want to have tests? What do we gain from them? What are the downsides? What makes a good test; what’s a bad test? How can we classify tests? And how many of which kinds of tests should we write?
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsNotes
- 1.
Jim Bird, “Bugs and Numbers: How Many Bugs Do You Have in Your Code?” Building Real Software: Developing and Maintaining Secure and Reliable Software in the Real World, http://swreflections.blogspot.de/2011/08/bugs-and-numbers-how-many-bugs-do-you.html , August 23, 2011.
- 2.
Wikipedia, “Mars Climate Orbiter,” https://en.wikipedia.org/wiki/Mars_Climate_Orbiter , 2018.
- 3.
J. L. Lions, “Ariane 5: Flight 501 Failure. Report by the Inquiry Board,” http://sunnyday.mit.edu/accidents/Ariane5accidentreport.html , July 1996.
- 4.
Wikipedia, “Big ball of mud,” https://en.wikipedia.org/wiki/Big_ball_of_mud , 2018.
- 5.
Wikipedia, “Extreme programming,” https://en.wikipedia.org/wiki/Extreme_programming , 2018.
- 6.
Vlad Krasnov, “On the Dangers of Intel’s Frequency Scaling,” Cloudflare, https://blog.cloudflare.com/on-the-dangers-of-intels-frequency-scaling/ , November 10, 2017.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Moritz Lenz
About this chapter
Cite this chapter
Lenz, M. (2019). Automated Testing. In: Python Continuous Integration and Delivery. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4281-0_1
Download citation
DOI: https://doi.org/10.1007/978-1-4842-4281-0_1
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-4280-3
Online ISBN: 978-1-4842-4281-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)