Search⌘ K
AI Features

Introduction to Automated Testing

Explore automated testing concepts including unit and integration tests, and learn how to integrate testing processes with Git hooks to maintain code quality during development. Understand the role of virtual machines and containers to ensure consistency between development and production environments.

In the previous chapters, we’ve looked at both interactive and automated testing. In general, both play an important role in developing code confidence and, therefore, development speed.

  • Interactive testing helps us become confident in our new code.

  • Automated testing helps us maintain confidence in our old code. When changes are made to one part of the application, we want to be confident that the other parts won’t break. Automated testing is ideal for this.

Automated testing

Automated tests work best at the most granular and global levels. We’ve looked at the granular end of the tests: ...