Exploring the fundamentals of testing
In this section, we will briefly cover the basics of testing. More precisely, we will be doing the following:
- Understanding the benefits of testing
- Exploring the types of tests
Let's start with the benefits of testing!
Understanding the benefits of testing
Testing our code is essential. Through tests, we ensure that our app's functional behavior is correct and as expected, while also making sure that it's usable, just as it was designed. By performing tests, we can release stable and functional apps to end users.
More importantly, if we develop an app and then test it consistently, we ensure that new updates with new functionality won't break the existing functionality, and no bugs will arise. This is often referred to as regression testing.
You can test your app manually by navigating through it on your device or emulator and making sure that every piece of data is displayed correctly, while also...