HomeCoursesLearning Test-Driven Development with Go
AI-powered learning
Save

Learning Test-Driven Development with Go

Gain insights into TDD with Go. Learn Go fundamentals, write test cases, explore TDD katas, and build a TODO app to master reliable application development practices.

4.9
39 Lessons
10h
Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
  • Familiarity with core components of Go, including structs, interfaces, functions, and methods
  • Hands-on experience writing unit tests using Go
  • An understanding of TDD and its application in software development
  • The ability to write software using TDD with Go

Learning Roadmap

39 Lessons1 Project2 Assessments

1.

Introduction

Introduction

Gain a foundational understanding of TDD with Go's principles, practices, and advantages.

2.

Go: Fundamentals

Go: Fundamentals

Walk through Go's basics, fmt package, standard library, I/O operations, and error handling.

3.

Tests & TDD

Tests & TDD

5 Lessons

5 Lessons

Break apart tests, TDD, clean tests, code smells, and magic numbers for efficient development.

4.

Go & Tests

Go & Tests

14 Lessons

14 Lessons

Grasp the fundamentals of writing tests, advanced testing features, and building robust web APIs in Go.

5.

TDD Katas

TDD Katas

11 Lessons

11 Lessons

Solve problems in FizzBuzz and PassValidator katas using the Red-Green-Refactor TDD approach.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Author NameLearning Test-Driven Development withGo
Developed by MAANG Engineers
ABOUT THIS COURSE
Test-driven development (TDD) is a software design technique based on tests that promotes an iterative way of writing software. This course will teach you to use TDD using Go—one of the most popular languages. In this course, you will first learn about the fundamentals of Go, including packages, standard library, and error handling. Then, you will go through a comprehensive guide on writing test cases using Go, including subtests, table-driven tests, skipping, benchmarking, fuzzing, dependency injection, and mocking in unit tests. Next, you will look at multiple TDD katas and learn about the best practices for making most of the TDD approach. Finally, you will build a TODO application by following the test-driven development approach. This application will be a REST API that exposes actions getting TODOs. After completing this course, you will have the skills needed to build reliable applications using the test-driven development approach.
ABOUT THE AUTHOR

Ivan Pesenti

Software developer - Speaker - Trainer - Blogger - Geek

Learn more about Ivan

Trusted by 2.9 million developers working at companies

These are high-quality courses. Trust me the price is worth it for the content quality. Educative came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks

A

Anthony Walker

@_webarchitect_

Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!

E

Evan Dunbar

ML Engineer

You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it.

S

Software Developer

Carlos Matias La Borde

I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site

S

Souvik Kundu

Front-end Developer

Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content.

V

Vinay Krishnaiah

Software Developer

Built for 10x Developers

No Passive Learning
Learn by building with project-based lessons and in-browser code editor
Learn by Doing
Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go
Learn by Doing
Future-proof Your Career
Get hands-on with in-demand skills
Learn by Doing
AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"
Learn by Doing
Learn by Doing
MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies
Learn by Doing

Free Resources

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath