schubergphilis / mcvs-golang-action

Mission Critical Vulnerability Scanner (MCVS) Golang Action. Create Golang code without high and critical vulnerabilities.
MIT License
0 stars 1 forks source link

Integration tests #9

Closed 030 closed 8 months ago

030 commented 10 months ago

https://mickey.dev/posts/go-build-tags-testing/

on top of go files:

integration tests: // +build integration

unit tests: // +build !integration

go test ./... --tags=integration