Writing Concurrent Tests In Golang
Golang provides excellent concurrency mechanism, including some built-in functionalities to run tests faster. In this blog post we’ll explore some useful techniques in running concurrent tests in Go. However, we will not cover basic knowledge of Golang syntax, concepts and how to write tests in Golang in this post. Basic tests Imagine we want to implement some helper functions for the slice data type. package slices // Unique returns true if slice does not contain any duplicates....