Skip to main content

Introduction to Testing

Tests are a critical piece in the software development process. They allow us to validate that our code not only works as expected, but also continues to work as we make modifications, add new pieces, and overall refactor existing code. Beyond that, tests also act as a great way to document our code, as they they describe expected inputs and outputs, which allows newcomers to easily understand the scope and intention of existing work even if it isn't thoroughly documented. Tests have the ability to rapidly increase iteration speed by catching issues early on in the development lifecycle, and they give us more confidence in the code we release, which means we can release more often and with less risk.

All of these points mean we should be striving to write tests for as much of our work as possible, and this documentation aims to give you the tools and confidence needed to write high quality, high confidence tests.

info

Like all of our documentation, if you find any errors, missing info, or have any other suggestions feel free to open an MR or raise them in #chapter-native-apps.