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 tests generated for my path #134

Open
robtrooper opened this issue Jun 24, 2020 · 0 comments
Open

No tests generated for my path #134

robtrooper opened this issue Jun 24, 2020 · 0 comments

Comments

@robtrooper
Copy link

robtrooper commented Jun 24, 2020

I'm running the following expecting it to generate a test file as oppose to getting stdout
/home/rob/go/bin/gotests -all -w /home/rob/Projects/Go/testme

The first time it said
Generated Test_main
But it didn't create a test file. I ran the same command again but then it said
No tests generated for /home/rob/Projects/Go/testme
Subsequent commands give me No tests generated.

There doesn't appear to be a file generated in any of the paths that i could find. Nor could it repeat the first Generated Test_

I'm not using any of the plugins, i wish to use the command line to test this out but i'm not getting what i expect.

Edited to add I found the tests in the folder (eg main_test) but they were not named as the cli output suggests, leaving the user confused as to what happened.
Maybe make the cli output match what was created?
If i already have a file main_test then the command will not create a file.

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

1 participant