From the course: Spring Cloud GCP: Setting Up a Cloud SQL Database

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Unit vs. integration testing

Unit vs. integration testing

From the course: Spring Cloud GCP: Setting Up a Cloud SQL Database

Start my 1-month free trial

Unit vs. integration testing

- [Instructor] We're going to discuss the differences between unit and integration testing in this video. But first, why should we even bother with testing in the first place? Testing is a great way to validate the functionality of our app continually. Depending on the app and implementation how we test may differ. How we test will also impact the cost of supporting and maintaining our application. Yes, testing is important but why should we bother covering this in this course? These tests might be using actual resources that cost money and can slow down your continuous integration and continuous deployment process. For the puzzle inventory app that I am building, I am charged by uptime, memory, storage and network usage when using Cloud SQL. I want to be sure my tests are helpful and useful, but also do not affect my budget too much. Now that we know why we should consider testing, let's take a look at the different…

Contents