Automated SQL Tests with PostgreSQL & Docker

Run end-to-end SQL script tests using PostgreSQL and Docker to catch breaking changes. Support me with a coffee ☕ if helpful!

Automated SQL Tests with PostgreSQL & Docker
Murat Öksüzer
266 views • Jul 28, 2024
Automated SQL Tests with PostgreSQL & Docker

About this video

Run your SQL script code base end to end from scratch to catch any breaking change.

If you found this video helpful, you can buy me a coffee:
☕ https://www.buymeacoffee.com/muratoksuzer

WHY?
You have a living SQL script codebase
New scripts are added/removed/changed everyday
You want to protect stability
Catch any regression
You need automated SQL script tests that will run all of your scripts from scratch!

HOW?
Prepare a PostgreSQL docker image that will run all SQL scripts
If any of the script fails, container will close with a proper message
Order of the scripts important, i.e. tables should be created before views
Kill the container whatever the result is, success or failure

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

266

Likes

2

Duration

13:19

Published

Jul 28, 2024

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.