Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/test/tests/smoke-test/main_test.go
2498 views
1
// Copyright (c) 2023 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
package smoketest
6
7
import (
8
"context"
9
"os"
10
"testing"
11
12
"github.com/gitpod-io/gitpod/test/pkg/integration"
13
"sigs.k8s.io/e2e-framework/pkg/env"
14
)
15
16
var (
17
testEnv env.Environment
18
username string
19
namespace string
20
kubeconfig string
21
gitlab bool
22
)
23
24
func TestMain(m *testing.M) {
25
username, namespace, testEnv, _, kubeconfig, gitlab = integration.Setup(context.Background())
26
os.Exit(testEnv.Run(m))
27
}
28
29