Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hifat/gock
The project for learning unit test
https://github.com/hifat/gock
golang gorm integrate-test mockgen sql-mock unit-test
Last synced: 27 days ago
JSON representation
The project for learning unit test
- Host: GitHub
- URL: https://github.com/hifat/gock
- Owner: hifat
- Created: 2023-08-23T08:59:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-27T16:55:24.000Z (over 1 year ago)
- Last Synced: 2024-11-05T23:15:45.014Z (3 months ago)
- Topics: golang, gorm, integrate-test, mockgen, sql-mock, unit-test
- Language: Go
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gock
The project for learning unit test
### Run app
```bash
make run
```### Migrate DB
```bash
make migrate
```## Mock generator
```bash
make mock-gen
```## Testing
- Test service
```bash
make test-service
```- Test repository
```bash
make test-repo
```- Test all
```bash
make test
```