github.com/pluralsh/plural-cli@v0.9.5/pkg/bundle/tests/tests.go (about)

     1  package tests
     2  
     3  import (
     4  	"github.com/pluralsh/plural-cli/pkg/api"
     5  	"github.com/pluralsh/plural-cli/pkg/manifest"
     6  	"github.com/pluralsh/plural-cli/pkg/utils"
     7  )
     8  
     9  func Perform(ctx *manifest.Context, test *api.RecipeTest) error {
    10  	utils.Highlight("\nRunning %s test [%s] ==>\n", test.Name, test.Type)
    11  	if test.Type == "GIT" {
    12  		return testGit(ctx, test)
    13  	}
    14  	return nil
    15  }