dnote/server/api/scripts/test.sh
2019-05-10 09:31:31 +10:00

8 lines
230 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/server/api
go test ./handlers/... ./operations/... -cover -p 1
popd