mirror of https://github.com/stashapp/stash.git
20 lines
354 B
Markdown
20 lines
354 B
Markdown
![]() |
# Run tests
|
||
|
|
||
|
To run tests simply run
|
||
|
|
||
|
```shell script
|
||
|
go test ./... -coverprofile=coverage.out
|
||
|
```
|
||
|
|
||
|
To deep dive into test coverage, run the following command to see the result in your terminal
|
||
|
|
||
|
```shell script
|
||
|
go tool cover -func=coverage.out
|
||
|
```
|
||
|
|
||
|
or the following to see the result in your browser
|
||
|
|
||
|
```shell script
|
||
|
go tool cover -html=coverage.out
|
||
|
```
|