Book Image

Testing with F#

By : Mikael Lundin
Book Image

Testing with F#

By: Mikael Lundin

Overview of this book

Table of Contents (17 chapters)
Testing with F#
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 7. The Controversy of Test Automation

Testing is hard. It is hard to find the right balance in testing to know what to test and what to skip. It is also hard to write high-quality tests that bring more value than the effort it took to produce them.

However, the value of a good test suite is tremendous and shouldn't be neglected by fear of learning or challenging what is difficult. This chapter will focus on the difficulties and teach you how to think about testing and quality measures in general.

In this chapter, we will cover the following topics:

  • Bugs or defects

  • The cost of quality

  • The false security of code coverage

  • Test-driven development

  • Testing or fact-checking

After this chapter, you will feel confident about applying test automation to your project. This will help you to not only decide when to write a test and when to sustain, but also to know how to test. This chapter is a fast track in the experiences of test automation and quality in software development.