diff --git a/tests/api_test.go b/tests/api_test.go new file mode 100644 index 00000000000..a2e6895d754 --- /dev/null +++ b/tests/api_test.go @@ -0,0 +1,28 @@ +package main + +import ( + "context" + "testing" + + "github.com/shellhub-io/shellhub/tests/environment" +) + +func TestAPI(t *testing.T) { + cases := []struct { + name string + run func(t *testing.T) + }{} + + env := environment.New(t) + + for _, tt := range cases { + tc := tt + t.Run(tc.name, func(t *testing.T) { + ctx := context.Background() + + compose := env.Clone(t).Up(ctx) + t.Cleanup(compose.Down) + + }) + } +}