Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the default test file tests/default_test.go #562

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

update the default test file tests/default_test.go #562

wants to merge 2 commits into from

Conversation

jeffy5
Copy link

@jeffy5 jeffy5 commented Nov 23, 2018

There are something wrong when I run the command go test ./....

➜ base go test ./...
? github.com/xr-hui/base [no test files]
? github.com/xr-hui/base/controllers [no test files]
? github.com/xr-hui/base/routers [no test files]
panic: the target config file: /home/wjh/project/go/src/github.com/xr-hui/base/tests/conf/app.conf don't exist

goroutine 1 [running]:
github.com/astaxie/beego.InitBeegoBeforeTest(0xc000024410, 0x43)
/home/wjh/project/go/src/github.com/astaxie/beego/beego.go:119 +0xb8
github.com/astaxie/beego.TestBeegoInit(0xc000022480, 0x35)
/home/wjh/project/go/src/github.com/astaxie/beego/beego.go:113 +0xc3
github.com/xr-hui/base/tests.init.0()
/home/wjh/project/go/src/github.com/xr-hui/base/tests/default_test.go:18 +0xc2
FAIL github.com/xr-hui/base/tests 0.006s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant