Unit-And-Integration-Testing
A simple approach to understanding Unit and Integration testing in Golang
File Explorer
Download Latest Version (.zip)- app.go
- routes.go
- messages_controller.go
- messages_controller_test.go
- message_dao.go
- message_dto.go
- message_schema.sql
- message_test.go
- message_controller_integration_test.go
- setup_test.go
- messages_service.go
- messages_service_test.go
- error_formats.go
- error_utils.go
- .env.example
- .gitignore
- go.mod
- go.sum
- main.go
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/victorsteven/Unit-And-Integration-Testing
Downloads the entire project code from GitHub to your computer.
cd Unit-And-Integration-Testing
Moves into the project folder you just downloaded.
2. Go
Medium RecommendedPrerequisites
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation
Was this content helpful?
(0 ratings)
