Improve docs
This commit is contained in:
parent
2b788b0e9c
commit
91d58646ae
2 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
This project is built using golang `1.23.1`.
|
||||
|
||||
#### Setup steps
|
||||
### Setup steps
|
||||
|
||||
1. Checkout this repository
|
||||
2. Execute the script below
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Pilgrim's tests are written using the testify framework and mockery.
|
||||
|
||||
#### Generate Mocks
|
||||
### Generate Mocks
|
||||
|
||||
The below command, when executed from the project root, will generate mocks for
|
||||
all interfaces in all packages of the project, and put them in the `mocks`
|
||||
|
@ -12,7 +12,7 @@ directory, under the `pilgrim_mock` package
|
|||
$ mockery --all --outpkg pilgrim_mock --output ./internal/mocks
|
||||
```
|
||||
|
||||
#### Run Tests
|
||||
### Run Tests
|
||||
|
||||
To run all tests, execute the following from the root directory
|
||||
|
||||
|
@ -20,7 +20,7 @@ To run all tests, execute the following from the root directory
|
|||
$ go test ./...
|
||||
```
|
||||
|
||||
#### Coverage
|
||||
### Coverage
|
||||
|
||||
To calculate test coverage, you have to build a special coverage binary and
|
||||
execute it. To do this, run the following in the root directory:
|
||||
|
|
Loading…
Add table
Reference in a new issue