Writing a Unit Test in Go

Share this video with your friends

Send Tweet

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
~ 6 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 Biscardi(instructor)
~ 6 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
~ 6 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
~ 5 years ago

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