backend: added unit tests for main.go
Unit tests are testing all routes and Handlers
This commit is contained in:
parent
2d0d0697fb
commit
eda80cf0f0
3 changed files with 194 additions and 0 deletions
8
go.mod
8
go.mod
|
|
@ -1,3 +1,11 @@
|
|||
module ddServer
|
||||
|
||||
go 1.21.4
|
||||
|
||||
require github.com/stretchr/testify v1.8.4
|
||||
|
||||
require (
|
||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue