Skip to content

Instantly share code, notes, and snippets.

@telnet2
Created January 29, 2022 23:24
Show Gist options
  • Save telnet2/20d2235825f23e6ecd8875f295646b46 to your computer and use it in GitHub Desktop.
Save telnet2/20d2235825f23e6ecd8875f295646b46 to your computer and use it in GitHub Desktop.
Snippet for test suite
package confutil
import (
"testing"
"github.com/stretchr/testify/suite"
)
type TestMe struct {
suite.Suite
}
func (tm *TestMe) TestConfigType() {
}
func TestConfUtil(t *testing.T) {
tm := new(TestMe)
suite.Run(t, tm)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment