Skip to content

mahdiou/goroutinemock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demonstrating timeouts when mock expectations are not met in a goroutine.

Details: golang/mock#145

Solution to find error details: add -v to the go test command to get logs as they are printed.

Running problematic test: go test -timeout 5s github.com/mahdiou-diallo/goroutinemock/core -testify.m Test_AsyncUnexpected -v

About

Timeout in test when mock expectations are unsatisfied in a goroutine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages