dnote/pkg/server/api/scripts/test.sh
Sung Won Cho 23a511dbe0
Improve package structure (#207)
* Improve package structure

* Set up travis
2019-06-25 19:20:19 +10:00

8 lines
234 B
Bash
Executable file

#!/bin/bash
# test.sh runs api tests. It is to be invoked by other scripts that set
# appropriate env vars.
set -eux
pushd "$GOPATH"/src/github.com/dnote/dnote/pkg/server/api
go test ./handlers/... ./operations/... -cover -p 1
popd