You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
366 B
23 lines
366 B
package e2e
|
|
|
|
import (
|
|
"flag"
|
|
"testing"
|
|
|
|
"github.com/openimsdk/open-im-server/v3/test/e2e/framework/config"
|
|
)
|
|
|
|
// handleFlags sets up all flags and parses the command line.
|
|
func handleFlags() {
|
|
config.CopyFlags(config.Flags, flag.CommandLine)
|
|
flag.Parse()
|
|
}
|
|
|
|
func TestMain(m *testing.M) {
|
|
handleFlags()
|
|
m.Run()
|
|
}
|
|
|
|
func TestE2E(t *testing.T) {
|
|
RunE2ETests(t)
|
|
} |