...

/

Using Table-Driven Tests

Using Table-Driven Tests

This lesson explains a method to organize the testing of Go programs via tables.

We'll cover the following...

When writing tests, it is good practice to use an array to collect the ...