summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--magefile.go4
-rw-r--r--test/api_test.go7
2 files changed, 11 insertions, 0 deletions
diff --git a/magefile.go b/magefile.go
index 334f658..9272dd4 100644
--- a/magefile.go
+++ b/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", "./...")
+}
diff --git a/test/api_test.go b/test/api_test.go
new file mode 100644
index 0000000..3ef4f52
--- /dev/null
+++ b/test/api_test.go
@@ -0,0 +1,7 @@
+package main
+
+import "testing"
+
+func TestHelloWorld(t *testing.T) {
+ // t.Fatal("not implemented")
+}