Skip to content

Commit

Permalink
Extend #350 (#355)
Browse files Browse the repository at this point in the history
readme and makefile
  • Loading branch information
shaspitz authored Sep 8, 2022
1 parent 36dd5a9 commit 2f9cf95
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ install: go.sum
go install $(BUILD_FLAGS) ./cmd/interchain-security-pd
go install $(BUILD_FLAGS) ./cmd/interchain-security-cd

# run all tests: unit, e2e and diff
# run all tests: unit, e2e, diff, and integration
test:
go test ./...
go test ./... && go run ./tests/integration/...

# run e2e and unit tests
test-short:
Expand All @@ -25,7 +25,7 @@ test-integration:

# run all tests with caching disabled
test-no-cache:
go test ./... -count=1
go test ./... -count=1 && go run ./tests/integration/...

BUILD_TARGETS := build

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Similar to e2e tests, but they compare the system state to an expected state gen
Tests can be run using `make`:

```bash
# run unit, e2e, and integration tests
# run unit, e2e, diff, and integration tests
make test

# run unit and e2e tests - prefer this for local development
Expand All @@ -85,11 +85,11 @@ make test-no-cache

Alternatively you can run tests using `go test`:
```bash
# run all unit and e2e tests using go
# run all unit, e2e, and diff tests using go
go test ./...
# run all unit and e2e tests with verbose output
# run all unit, e2e, and diff tests with verbose output
go test -v ./..
# run all unit and e2e tests with coverage stats
# run all unit, e2e, and diff tests with coverage stats
go test -coverpkg=./x/... -coverprofile=coverage.out ./...
# run a single unit test
go test -run <unit-test-name> path/to/package
Expand Down

0 comments on commit 2f9cf95

Please sign in to comment.