Commit 5083ab8
Changed files (2)
test
test/api_test.go
@@ -0,0 +1,7 @@
+package main
+
+import "testing"
+
+func TestHelloWorld(t *testing.T) {
+ // t.Fatal("not implemented")
+}
magefile.go
@@ -88,3 +88,7 @@ func Protos() error {
func Run(ctx context.Context) {
mg.CtxDeps(ctx, Idp, UI, Api, Gateway)
}
+
+func Test(ctx context.Context) error {
+ return sh.RunV("go", "test", "-v", "./...")
+}