Unit, integration and functional Testing in Golang (Go)
What you'll learn
- Unit test basic functions and methods.
- Unit test external REST API calls.
- Unit and integration test external REST API calls.
- Mock and test MySQL databases.
- Integration test every layer of your application.
- Benchmark functions for performance tests.
- Debugging and Profiling Go applications.
- Code Coverage: that diabolic metric.
Requirements
- Just complete the Official Go Tour available at Go's homepage
Description
In this course we're covering every aspect of the testing features in Go:
Basic unit tests.
Test Driven Development.
Unit test a single layer of your application.
How to use Go modules.
How the TestMain function works and how to use it.
Mock and unit test external REST API calls.
Mock and integration test REST API calls form inner layers of your application.
How to perform functional tests.
How to define and write benchmarks to compare the quality of two versions of the same solution.
Mock and unit test MySQL database connection and query.
Mock frameworks available out there.
Asserts in Go: Why don't we have them? How to implement them in a safe way.
Who this course is for:
- Software engineers.
- Software developers.
- Technical Leaders.
- Software Architects.
- QA engineers.
Instructor
My name is Fede and I'm a Software Engineer from Córdoba, Argentina. I work in IT since 2004, you can always reach me in LinkedIn to see more about me. My day-time job is basically analysis, design and development of real-time and high-performance microservices.
Since I have a lot of experience in these topics and I'm always learning new ways of teaching these new concepts, I can ensure that you'll get the most of them: because I love what I do, because I'm not a fake, because I work with these topics on daily basis I can bet my name on what I know and because I have all of these concepts so deep in my head that I can share them without forcing the process. You will learn a lot, I will learn a lot and we're going to enjoy the journey.
If you have any doubt, take a look at my LinkedIn profile, take a look at my YouTube videos. Make your own search before getting someone who barely knows what he's talking about to teach you wrong concepts.
I'm sure you'll enjoy these courses as much as I've enjoyed working on them. Godspeed!