Skip to content

DarioAcevedo/go-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Go testing

This is a simple MVC to learn some of the basics of go testing.

The domain layer is tested with testing pkg. On the utils we have an example of benchmarking. Then the service layer uses testify to assert and mock the tests and finally the controller layer is using a bit of table driven testing just to show the pattern.

Dependencies

Or just run

go mod download

About

MVC with some tests for presentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages