DEV Community

Cover image for Unit testing in go with MySQL
Raksha for Canopas Software

Posted on

Unit testing in go with MySQL

Tests are stories we tell the next generation of programmers on a project. — Roy osherove

Unit test is the first most essential part of software testing, which focuses on small elements of software design.

Always put testing as a priority in the queue. After all, QUALITY is everyone’s responsibility.

Suppose you are developing a music app, your APIs are in golang and you want to test those APIs.

I have divided the process of writing the unit test into some small parts for easy understanding.

For a step by step guide, check out the original post.

Discussion (0)