- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Postgres Integration tests in Golang?! ~ Integration Testing in Go
In this video, I review a nice way of testing your repositories in Golang using in-memory Postgres implementation. I also show an example of how you can write tests for your repositories in a way which enables you to reuse the same tests - without writing new test cases for a new implementation. I.e the same set of tests can be used by different implementations.
Integration tests for your SQL queries enable you to ensure your raw SQL strings are valid and add an extra layer of robustness to your Go services so that you can ensure SQL is passing and repos are working as expected.
The package I mentioned in the video: https://github.com/fergusstrange/embedded-postgres
Discord: https://discord.gg/nb2TJMX3qR
Twitter: https://twitter.com/samvcodes
Github: https://github.com/samverrall
Видео Postgres Integration tests in Golang?! ~ Integration Testing in Go канала samvcodes
Integration tests for your SQL queries enable you to ensure your raw SQL strings are valid and add an extra layer of robustness to your Go services so that you can ensure SQL is passing and repos are working as expected.
The package I mentioned in the video: https://github.com/fergusstrange/embedded-postgres
Discord: https://discord.gg/nb2TJMX3qR
Twitter: https://twitter.com/samvcodes
Github: https://github.com/samverrall
Видео Postgres Integration tests in Golang?! ~ Integration Testing in Go канала samvcodes
Комментарии отсутствуют
Информация о видео
21 декабря 2023 г. 20:07:17
00:06:33
Другие видео канала






![Event Driven Modular Monolith in Go!? | Designing my Backend Architecture [HTMX and Go]](https://i.ytimg.com/vi/eiOtCcT3k4w/default.jpg)













