Go Testing

I'm learning testing in Go lang by following an article so that I'm able to check the correctness of my code

Article Resources

Meaningingful Quote:

Note - It’s important to note that performance tweaking should typically be done after the system is up and running.

“Premature optimization is the root of all evil” - Donald Knuth

Intro to Go Tasks:

  • Create Go test files
  • Write a simple test file
  • Run tests
  • Add extra test cases using Table Driven Testing
  • Get Verbose Test Output
  • Check test converage
  • Visualize Test Coverage

Itro to Benchmarking Tasks:

  • Write a simple benchmark test
  • Run benchmark tests
  • Add complexity to benchmark test