dnote/pkg/server/api/scripts/test.sh
2019-08-13 12:54:06 +10:00

8 lines
242 B
Bash
Executable file

#!/usr/bin/env 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