Top "Testify" questions

A sacred extension to the standard go testing package

Separating unit tests and integration tests in Go

Is there an established best practice for separating unit tests and integration tests in GoLang (testify)? I have a mix …

unit-testing go integration-testing testify
Unit testing for functions that use gorilla/mux URL parameters

Here's what I'm trying to do : main.go package main import ( "fmt" "net/http" "github.com/gorilla/mux" ) func main() { …

unit-testing go gorilla testify
How to test Golang channels / go-routines

I have a type that contains a byte of data, and takes a channel to post new data there. Other …

testing concurrency go testify
How to mock for same input and different return values in a for loop in golang

I'm running a test with multiple parameters in a for loop using go lang testing. I ran into a situation …

unit-testing go testify
Can I run a single test in a suite?

I have setup a test suite for my struct (https://github.com/stretchr/testify#suite-package). Before I was able to …

go testify