Files
cunicu/pkg/core/core_test.go
Steffen Vogel ef8be95fcc test: restructure test packages
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-08-31 19:59:47 +02:00

28 lines
415 B
Go

package core_test
import (
"math/rand"
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"riasc.eu/wice/pkg/util"
"riasc.eu/wice/test"
)
func TestSuite(t *testing.T) {
rand.Seed(GinkgoRandomSeed())
RegisterFailHandler(Fail)
RunSpecs(t, "Core Suite")
}
var _ = test.SetupLogging()
var _ = BeforeSuite(func() {
if !util.HasAdminPrivileges() {
Skip("Insufficient privileges")
}
})