github.com/redhat-appstudio/e2e-tests@v0.0.0-20230619105049-9a422b2094d7/pkg/framework/describe.go (about)

     1  package framework
     2  
     3  import (
     4  	. "github.com/onsi/ginkgo/v2"
     5  )
     6  
     7  // HASSuiteDescribe annotates the application service tests with the application label.
     8  func HASSuiteDescribe(text string, args ...interface{}) bool {
     9  	return Describe("[has-suite "+text+"]", args, Ordered)
    10  }
    11  
    12  // E2ESuiteDescribe annotates the e2e scenarios tests with the e2e-scenarios label.
    13  func E2ESuiteDescribe(args ...interface{}) bool {
    14  	return Describe("[e2e-demos-suite]", args)
    15  }
    16  
    17  // CommonSuiteDescribe annotates the common tests with the application label.
    18  func CommonSuiteDescribe(text string, args ...interface{}) bool {
    19  	return Describe("[common-suite "+text+"]", args, Ordered)
    20  }
    21  
    22  func ChainsSuiteDescribe(text string, args ...interface{}) bool {
    23  	return Describe("[chains-suite "+text+"]", args, Ordered)
    24  }
    25  
    26  func BuildSuiteDescribe(text string, args ...interface{}) bool {
    27  	return Describe("[build-service-suite "+text+"]", args)
    28  }
    29  
    30  func JVMBuildSuiteDescribe(text string, args ...interface{}) bool {
    31  	return Describe("[jvm-build-service-suite "+text+"]", args, Ordered)
    32  }
    33  
    34  func ClusterRegistrationSuiteDescribe(text string, args ...interface{}) bool {
    35  	return Describe("[cluster-registration-suite "+text+"]", args, Ordered)
    36  }
    37  
    38  func ReleaseSuiteDescribe(text string, args ...interface{}) bool {
    39  	return Describe("[release-suite "+text+"]", args, Ordered)
    40  }
    41  
    42  func IntegrationServiceSuiteDescribe(text string, args ...interface{}) bool {
    43  	return Describe("[integration-service-suite "+text+"]", args, Ordered)
    44  }
    45  
    46  func MvpDemoSuiteDescribe(text string, args ...interface{}) bool {
    47  	return Describe("[mvp-demo-suite "+text+"]", args, Ordered)
    48  }
    49  
    50  func O11ySuiteDescribe(text string, args ...interface{}) bool {
    51  	return Describe("[O11y-suite "+text+"]", args, Ordered)
    52  }
    53  
    54  func SPISuiteDescribe(args ...interface{}) bool {
    55  	return Describe("[spi-suite]", args, Ordered)
    56  }
    57  
    58  func EnterpriseContractSuiteDescribe(text string, args ...interface{}) bool {
    59  	return Describe("[enterprise-contract-suite "+text+"]", args, Ordered)
    60  }