Unit Testing in Golang | hatchpad

preview_player
Показать описание
Unit Testing in Golang | hatchpad

Chloé Powell, Senior Software Engineer at Compass, shares
how their unit testing strategy helps them achieve their goal of “quality
first.” By leveraging interfaces, mocking dependencies, and separating layers of logic,
they’re able to build unit tests in Go that target each layer of their
applications and control all external variables involved.

🐣 What is hatchpad? 🐣
Hatchpad is the community for startup technologists.
Our members include Software Engineers, Product Managers, Data Scientists, and Tech Executives; all connected through their passion for startups and desire to create innovative technology.
Every week we chat with startup technologists to provide you behind the scenes insights on technical skills, career advice, and industry trends.
If you want to learn from and grow alongside a curated group of startup technical professionals, this community is for you.
Рекомендации по теме
Комментарии
Автор

There is a mistake in the slide of test tables. Where it is "if actual != expected" it should be "if actual != test.expected". Excellent!!!

yamilbracho
Автор

How strict are you all on the order of the expected and actual values in your assertions?

chriskeele
join shbcf.ru