projects
/
platform
/
core
/
system
/
edge-orchestration.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
370ea23
)
Add shell script of checking coverage
author
jw_wonny.cha
<jw_wonny.cha@samsung.com>
Mon, 25 Mar 2019 08:01:50 +0000
(17:01 +0900)
committer
jw_wonny.cha
<jw_wonny.cha@samsung.com>
Mon, 25 Mar 2019 08:01:50 +0000
(17:01 +0900)
coverage.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/coverage.sh
b/coverage.sh
new file mode 100755
(executable)
index 0000000..
a4bae01
--- /dev/null
+++ b/
coverage.sh
@@ -0,0
+1,8
@@
+#! /bin/bash
+
+export GOPATH=$GOPATH:$BASE_DIR:$BASE_DIR/vendor
+
+go test -v -cover restapi/v1 -coverpkg=servicemgr,devicemgr,restapi -coverprofile cover.out
+go tool cover -html=cover.out -o cover.html
+
+firefox cover.html
\ No newline at end of file