https://github.com/bujosa/emiw
This is a simple project in go for testing a simple functions.
https://github.com/bujosa/emiw
ci-cd golang testify testing
Last synced: 10 months ago
JSON representation
This is a simple project in go for testing a simple functions.
- Host: GitHub
- URL: https://github.com/bujosa/emiw
- Owner: bujosa
- License: mit
- Created: 2023-10-29T02:37:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-29T07:34:51.000Z (about 2 years ago)
- Last Synced: 2025-03-11T10:53:20.272Z (10 months ago)
- Topics: ci-cd, golang, testify, testing
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Emiw
This is a simple project in go for testing a simple functions.
In this project we can find unit testing. Also CI/CD with github actions for testing the project.
We are using the following tools:
- Go standard library
- Testify for unit testing [See more](https://github.com/stretchr/testify)
## How to use
### Install the project
```bash
git clone https://github.com/bujosa/emiw
cd emiw
```
### Run the project
```bash
$ go run main.go
```
### Run the tests
```bash
$ go test -v
```
### Run the tests with coverage
```bash
$ go test -coverprofile=coverage ./...
```
### Run the tests with coverage and html
```bash
$ go test -coverprofile=coverage ./...
$ go tool cover -html=coverage
```