Before delivering it to the end user, an application should be tested. The process of software testing consists of a program executing with the purpose of finding bugs. By bugs, we mean mistakes that relate to logical errors in code or misunderstanding the application flow. The main reason for testing is to make sure that a product meets the end user's expectations and software requirements.
This chapter covers the following topics:
- Why testing?
- Types of testing
- The Kotlin test library
- Testing examples