setup_test.go 333 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package i18n_test

import (
	"testing"

	"github.com/onsi/ginkgo/reporters"

	. "github.com/onsi/ginkgo"
	. "github.com/onsi/gomega"
)

func TestI18n(t *testing.T) {
	RegisterFailHandler(Fail)
	junitReporter := reporters.NewJUnitReporter("test-i18n.xml")
	RunSpecsWithDefaultAndCustomReporters(t, "app", []Reporter{junitReporter})
}