Provide unit tests to all packages of ./protocol/...
These protocols have few tests, but it should be added later.
aws
db
file
$ make TEST_PACKAGE=./protocol/... cover
mkdir -p tmp
go test -coverprofile tmp/_cover.out ./protocol/...
ok github.com/koron/nvgd/protocol 0.209s coverage: 90.9% of statements
ok github.com/koron/nvgd/protocol/aws 0.283s coverage: 7.1% of statements
ok github.com/koron/nvgd/protocol/command 0.497s coverage: 95.5% of statements
ok github.com/koron/nvgd/protocol/configp 0.318s coverage: 85.7% of statements
ok github.com/koron/nvgd/protocol/db 0.371s coverage: 8.7% of statements
ok github.com/koron/nvgd/protocol/echarts 0.329s coverage: 100.0% of statements
ok github.com/koron/nvgd/protocol/examples 0.314s coverage: 100.0% of statements
ok github.com/koron/nvgd/protocol/file 0.225s coverage: 39.4% of statements
ok github.com/koron/nvgd/protocol/help 0.321s coverage: 92.9% of statements
ok github.com/koron/nvgd/protocol/redis 0.083s coverage: 81.9% of statements
ok github.com/koron/nvgd/protocol/trdsql 0.346s coverage: 100.0% of statements
ok github.com/koron/nvgd/protocol/version 0.252s coverage: 100.0% of statements
go tool cover -html tmp/_cover.out -o tmp/cover.html
Provide unit tests to all packages of
./protocol/...
These protocols have few tests, but it should be added later.