open-im-server/test/e2e/e2e_test.go
Xinwei Xiong(cubxxw) 3c2a0e3a58 feat: openim test
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
2023-11-10 18:37:01 +08:00

23 lines
366 B
Go

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)
}