Skip to content
Permalink
Browse files

TEST_ARGS指定で、特定テストだけ実行できるように

  • Loading branch information...
shibayu36 committed Jun 6, 2019
1 parent cef0d7e commit baa36f13a27b8beb361c40754b246e687749a2c4
Showing with 2 additions and 1 deletion.
  1. +2 −1 Makefile
@@ -1,4 +1,5 @@
BIN=server
TEST_ARGS=''

all: clean build

@@ -18,7 +19,7 @@ deps:
dep ensure -vendor-only

test: build
DATABASE_DSN=$$DATABASE_DSN_TEST go test -v -p 1 ./...
DATABASE_DSN=$$DATABASE_DSN_TEST go test -v -p 1 ./... ${TEST_ARGS}

clean:
rm -rf build */*-gen.go

0 comments on commit baa36f1

Please sign in to comment.
You can’t perform that action at this time.