ppparihar / GoTestExplorer

A Go Test Explorer for VS code (https://marketplace.visualstudio.com/items?itemName=premparihar.gotestexplorer)
47 stars 8 forks source link

test explorer not loading for a huge project with 50+ packages #6

Open jgheewala opened 5 years ago

jgheewala commented 5 years ago

Hi,

I have a huge project with 50+ packages. There are almost 500+ test cases. I installed go test explorer and waited for almost 20 mins, but nothing got loaded. I would prefer having a setting flag which indicates what package/dir you want to load into gotest explorer.

ppparihar commented 5 years ago

@jgheewala It looks in srs folder only If a project contains src folder at root level else it looks for all the folder/directory. The extension has tested with 300+ tests successfully. If possible can you share your git repo? else please share your directory structure? I will love to work on it. Feel free to raise queries/suggestions.

ppparihar commented 5 years ago

@jgheewala are you still facing the same issue?

jgheewala commented 5 years ago

@ppparihar yes I am still facing the issue. Unfortunately i cannot share private repo access from the company. So i think I know what the issue was.

Temporary Fix for below:

Enhancement request:

Provide a config for user to setup a list of package paths and display test cases only from this list. If no elements then preserve the default behavior.

gfrancqu commented 4 years ago

Hi,

I'm facing the same issue, the fact is that my GOPATH is located inside my repo, the testExplorer actually only skip the .vscode, .git and vendor

maybe it could access and use the workspace settings files.exclude ?