Back to Browse

[Backend #5] Write Golang unit tests for database CRUD with random data

64.4K views
Jul 26, 2020
20:05

In this video, we will learn how to write unit tests for the database CRUD functions that we've generated in previous lecture. By using random data in the test, we will save a lot of time figuring out what values to use, the code will be more concise and easier to understand, and it will help avoid conflicts between multiple test cases. - Join us on Discord: https://bit.ly/techschooldc - Get the course on Udemy: https://bit.ly/backendudemy - Buy us a coffee: https://www.buymeacoffee.com/techschool - Full series playlist: https://bit.ly/backendmaster - Github repository: https://github.com/techschool/simplebank - Read it on DEV: https://dev.to/techschoolguru/generate-crud-golang-code-from-sql-and-compare-db-sql-gorm-sqlx-sqlc-560j --- In this backend master class, we’re going to learn everything about how to design, develop, and deploy a complete backend system from scratch using PostgreSQL, Golang and Docker. TECH SCHOOL - From noob to pro http://youtube.com/c/TECHSCHOOLGURU At Tech School, we believe that everyone deserves a good and free education. We create high-quality courses and tutorials in Information Technology. If you like the videos, please feel free to share and subscribe to support the channel or buy us a coffee: https://www.buymeacoffee.com/techschool

Download

0 formats

No download links available.

[Backend #5] Write Golang unit tests for database CRUD with random data | NatokHD