Merge pull request #3 from scylladb/mmt/coverage

makefile: separated integration tests, added test coverage
This commit is contained in:
Michał Matczuk
2017-07-31 16:22:38 +02:00
committed by GitHub
3 changed files with 10 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
all: check test
all: check test integration-test
.PHONY: check
check:
@@ -10,8 +10,11 @@ check:
.PHONY: test
test:
go test -race ./...
go test -tags integration ./...
go test -cover -race ./...
.PHONY: integration-test
integration-test:
go test -cover -tags integration
.PHONY: get-deps
get-deps:

View File

@@ -1,3 +1,5 @@
// +build !integration
package gocqlx
import (

View File

@@ -1,3 +1,5 @@
// +build !integration
package gocqlx
import (