Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```