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

No detailed log output after run go test #667

Open
robertzhangwenjie opened this issue Sep 4, 2022 · 4 comments
Open

No detailed log output after run go test #667

robertzhangwenjie opened this issue Sep 4, 2022 · 4 comments

Comments

@robertzhangwenjie
Copy link

my testcase:
image

after run go test ./... -v, the output as below:
image

expected:
image

@robertzhangwenjie
Copy link
Author

I found it works on linux os ,but doesnot work on macos with m1

@robertzhangwenjie
Copy link
Author

I found the reason why the reuslt was not my expect, cause i used github.com/glycerine/goconvey instead goconvey in my project.

@cookchen233
Copy link

Yes, this is a bug. I have debugged it for a long time, if using "go test -v", it works, but when running the compiled test file, it does not work, and I already add "-test.v" when compiling.
go test -c -test.v
./test
./test -test.v
all of them don't have the details.

@cookchen233
Copy link

cookchen233 commented Jan 4, 2023

I found a parameter "-convey-story", adding it will show the details.
./test -convey-story
or use it in the test command
go test -convey-story
or type it in test configuration
image

It works!

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

No branches or pull requests

2 participants