Skip to content

Commit

Permalink
[makefile] - Improve test-core rule to have a coverage profile
Browse files Browse the repository at this point in the history
  • Loading branch information
AntiD2ta committed Jan 21, 2020
1 parent 40b6449 commit 3bf565f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,8 @@ test-sky: ## Run Skycoin plugin test suite
go test -coverprofile=$(COVERAGEFILE) -timeout 30s github.com/fibercrypto/fibercryptowallet/src/coin/skycoin/models

test-core: ## Run tests for API core and helpers
go test -cover -timeout 30s github.com/fibercrypto/fibercryptowallet/src/util
go test -coverprofile=src/util/coverage.out -timeout 30s github.com/fibercrypto/fibercryptowallet/src/util
go tool cover -html=src/util/coverage.out -o src/util/coverage.html

test-data: ## Run tests for data package
go test -coverprofile=src/data/coverage.out -timeout 30s github.com/fibercrypto/fibercryptowallet/src/data
Expand Down

0 comments on commit 3bf565f

Please sign in to comment.