https://github.com/betterstack-community/gounittests
Intro to unit tests
https://github.com/betterstack-community/gounittests
Last synced: 21 days ago
JSON representation
Intro to unit tests
- Host: GitHub
- URL: https://github.com/betterstack-community/gounittests
- Owner: betterstack-community
- License: apache-2.0
- Created: 2024-01-09T22:16:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-11T15:40:47.000Z (over 2 years ago)
- Last Synced: 2025-01-13T21:44:43.587Z (over 1 year ago)
- Language: Go
- Size: 7.81 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unit Testing in Go
The project contains a simple entitlements claim implementation to demonstrate
unit testing in Go.
**Tutorial**:
[A Gentle Introduction to Unit Testing in Go](https://betterstack.com/community/guides/testing/unit-testing-in-go/)
## 🟢 Prerequisites
- Basic familiarity with the Go programming language.
- A [recent version of Go](https://go.dev/doc/install) installed on your local
machine.
## 📦 Getting started
Run the following commands to get set up:
```bash
git clone https://github.com/betterstack-community/gounittests.git
```
```bash
cd gounittests
```
Then follow the
[tutorial here](https://betterstack.com/community/guides/testing/unit-testing-in-go/)
to learn and practice unit testing in Go.
## âš– License
The code used in this project and in the linked tutorial are licensed under the
[Apache License, Version 2.0](LICENSE)