1package framework
2
3// TestCase is the interface which an E2E test case implements.
4// It is not meant to be implemented directly, instead the struct should embed
5// the 'framework.TC' struct
6type TestCase interface {
7	internalTestCase
8
9	Name() string
10}
11
12type internalTestCase interface {
13	setClusterInfo(*ClusterInfo)
14}
15
16// BeforeAllTests is used to define a method to be called before the execution
17// of all tests.
18type BeforeAllTests interface {
19	BeforeAll(*F)
20}
21
22// AfterAllTests is used to define a method to be called after the execution of
23// all tests.
24type AfterAllTests interface {
25	AfterAll(*F)
26}
27
28// BeforeEachTest is used to define a method to be called before each test.
29type BeforeEachTest interface {
30	BeforeEach(*F)
31}
32
33// AfterEachTest is used to define a method to be called after each test.
34type AfterEachTest interface {
35	AfterEach(*F)
36}
37