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.
24 lines
367 B
24 lines
367 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)
|
|
}
|