-
Notifications
You must be signed in to change notification settings - Fork 1
/
main_test.go
35 lines (28 loc) · 854 Bytes
/
main_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// -----------------------------------------------------------------------------
// CMDX Utilities Suite cmdx/[main_test.go]
// (c) [email protected] License: GPLv3
// -----------------------------------------------------------------------------
package main
// to test all items in main.go use:
// go test --run Test_main_
//
// to generate a test coverage report for the whole module use:
// go test -coverprofile cover.out
// go tool cover -html=cover.out
import (
"testing"
"github.com/balacode/zr"
)
// -----------------------------------------------------------------------------
// # Main Function
// go test --run Test_main_
func Test_main_(t *testing.T) {
zr.TBegin(t)
// main()
//
test := func() {
// TODO: main()
}
test()
}
// end