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: Cleanup, Deadline, Name, Log, Logf, Error, Errorf, Fail, FailNow, Failed, Fatal, Fatalf
#golang #go #unittest #testdrivendevelopment #tdd #theexceptionhandler
******* Table of content *******
00:00 Introduction
00:51 Understand Cleanup function
01:32 Code: Cleanup function
04:13 Understand Deadline function
05:25 Code: Deadline function
08:12 Understand Log and Logf function
08:32 Code: Log and Logf function
11:48 Understand Fail, FailNow and Failed function
12:47 Code: Fail, FailNow and Failed function
15:51 Understand Error and Errorf function
16:36 Code: Error and Errorf function
18:20 Understand Fatal and Fatalf function
18:46 Code: Fatal and Fatalf function
20:45 Thankyou