https://github.com/sagor0078/tdd-golang
https://github.com/sagor0078/tdd-golang
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sagor0078/tdd-golang
- Owner: Sagor0078
- License: mit
- Created: 2025-04-08T03:07:12.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-04-08T03:55:51.000Z (about 1 month ago)
- Last Synced: 2025-04-08T04:22:22.665Z (about 1 month ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐งช Golang with Tests
A simple Go project demonstrating unit testing, benchmarking, and code coverage.
## โ Run Tests
Run all tests(with output):
```bash
go test -v```
## ๐ Code Coverage
Check how much of your code is covered by tests:
```bash
go test -cover
```## โก Benchmarking
Run all benchmark functions:
```bash
go test -bench="."
```