Unit Testing in Go
Unit testing is a software testing technique where individual components or units of code are tested in isolation to ensure their correctness. In Go, unit testing is an integral part of the development workflow, facilitated by the standard library's "testing" package. The simplicity and clarity of Go's testing framework make it easy for developers to write, execute, and maintain unit tests.
In this video we will be learning about each function that is there in the 'T' structure in the testing package in Golang.
functions like: Parallel, Run, Skip, Helper, Setenv
#golang #go #unittest #testdrivendevelopment #tdd #theexceptionhandler #Parallel
******* Table of content *******
00:00 Introduction
02:09 Code: helper function
03:36 Code: Run function
07:10 Code: Parallel function
08:47 Code: Setenv function
09:39 Code: Skip, Skipf, SkipNow, Skipped function
13:23 Thankyou