Skip to content

No tests generated for my path #134

@robtrooper

Description

@robtrooper

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions