package chaos_test

import (
	"testing"

	"github.com/golang/mock/gomock"
	. "github.com/onsi/ginkgo"
	. "github.com/onsi/gomega"
)

//go:generate mockgen -destination generated/mock_chaos.go -mock_names API=MockChaosClient -package mock github.com/pingcap/test-infra/sdk/resource ChaosClient

var GomockController *gomock.Controller

func TestChaos(t *testing.T) {
	RegisterFailHandler(Fail)
	GomockController = gomock.NewController(t)
	RunSpecs(t, "Chaos Suite")
}
