ppparihar / GoTestExplorer

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

Test tags #30

Open bgruszka opened 3 years ago

bgruszka commented 3 years ago

Is it possible to define test tags to use while testing?

ppparihar commented 3 years ago

@bgruszka Can you please provide more details for test tags? what is the purpose of test tags ?

bgruszka commented 3 years ago

I would like to run only tests with specified tags, for example

go test -tags=functional ./...

Here is an example: https://mickey.dev/posts/go-build-tags-testing/