Build a Complete Async API in Golang (part 02 - User Data Access Layer w/ SQLx + Testing)

  Рет қаралды 668

devtool

devtool

Күн бұрын

Пікірлер: 2
@ranit-biswas
@ranit-biswas 14 күн бұрын
Great man. I don't have much knowledge about integration testing. But what I know that we don't do mocking and stubbing in integration test.. rather db interaction in real is happened during integration testing. Mocking and stubbing are done during unit testing. That's how I segregate b/w integration and unit testing. Please correct me if I'm wrong.
@thedevtool
@thedevtool 14 күн бұрын
@@ranit-biswas that’s correct. A unit test is not testing functionality of underlying dependencies. Rather, it will mock their behavior to ensure we’re using the dependencies correctly. However, people can get pedantic about what’s a unit versus integration test. You can just call it automated testing.
Why I Use Golang In 2024
9:21
ThePrimeTime
Рет қаралды 375 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
#71 Golang - Master SQLX: Simplify Database Operations
13:38
A Beautiful Way To Deal With ERRORS in Golang HTTP Handlers
8:42
What’s New in Go 1.24: Features, Updates, and More
11:41
Code & Learn
Рет қаралды 3,6 М.
SQLc is the perfect tool for those who don't like ORMs
28:11
Dreams of Code
Рет қаралды 117 М.
SQLC in Go - Auto-Generating Database Code in Golang
32:02
BugBytes
Рет қаралды 16 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 197 М.
Why I’m Switching To Go in 2024
8:10
Awesome
Рет қаралды 103 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.