Writing a Unit Test in Go

Chris Biscardi
InstructorChris Biscardi

Share this video with your friends

Send Tweet
Published 3 years ago
Updated 8 months ago

Golang has testing tools built into the standard go tool and the standard library. Here is how to write a unit test on a function so that you can run it with go test.

Zubair Ahmed
Zubair Ahmed
~ 3 years ago

hi Chris, are we going to have a full further course on golang. This is a very clear course. would love to see more

Chris Biscardi
Chris Biscardiinstructor
~ 3 years ago

@M-Zubair there will definitely be more lessons added to this playlist. It's possible I'll do a course on golang as well.

Is there anything in particular you'd like to see covered?

Zubair Ahmed
Zubair Ahmed
~ 3 years ago

@Chris it would be awesome if a server with the usual stuff such as auth, db connection is covered in the course. But totally upto you.

Caio Amaral
Caio Amaral
~ 3 years ago

Very straightforward and encouraging! Thank you for the great course, keep up the good work!