print

package
v0.0.0-...-652b38d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatAndPrintTestResult

func FormatAndPrintTestResult(cmd *cobra.Command, testRun *model.TestRun)

func FormatAndPrintTestRunsTable

func FormatAndPrintTestRunsTable(cmd *cobra.Command, testRuns []model.TestRun)

func GetTestRunStats

func GetTestRunStats(testRun model.TestRun) (model.ResultStats, map[int]model.ResultStats)

func PrintAuditInfo

func PrintAuditInfo(testCase model.TestCase, indentationSpace string)

func PrintConditions

func PrintConditions(cmd *cobra.Command, conditionList []model.Condition)

func PrintConditionsTemplate

func PrintConditionsTemplate(cmd *cobra.Command, condTemplate model.ConditionTemplate)

func PrintRawRequestResponse

func PrintRawRequestResponse(RawReqResArray []model.RawRequestResponse, isTcx bool)

func PrintSetVariables

func PrintSetVariables(testCase model.TestCase, indentationSpace string)

func PrintTestCaseDetails

func PrintTestCaseDetails(cmd *cobra.Command, testCases []model.TestCase, areDerivedTestCases bool, indentationSpace string, parentOrder int)

func PrintTestCases

func PrintTestCases(cmd *cobra.Command, testCases []model.TestCase, areAllTestCasesIncluded bool, groupBy string)

func PrintTestRequestObjects

func PrintTestRequestObjects(testRequests []model.TestRequest, indentationSpaces string)

func PrintTestRequests

func PrintTestRequests(cmd *cobra.Command, testRequests []model.TestRequest)

func PrintTestSuite

func PrintTestSuite(cmd *cobra.Command, testSuiteV3 model.TestSuite)

func PrintTestSuiteForRemovedTestSuite

func PrintTestSuiteForRemovedTestSuite(testSuiteV3 model.TestSuite)

func PrintTestSuitesResult

func PrintTestSuitesResult(cmd *cobra.Command, testSuiteV3 []model.TestSuite, name string)

PrintTestSuitesResult details and return test suiteId to print test cases only if single test suite is present in array else return 0

func PrintTestSuitesTable

func PrintTestSuitesTable(cmd *cobra.Command, testSuites []model.TestSuite)

func PrintTryFunctionResponse

func PrintTryFunctionResponse(tryFunction *model.TryFunction)

func PrintVariables

func PrintVariables(variables []model.Variable, forTestSuite bool)

func PrintVariablesResult

func PrintVariablesResult(cmd *cobra.Command, variables []model.Variable, forTestSuite bool)

Types

type GroupedTestCases

type GroupedTestCases struct {
	Key   string
	Order int
	Value []model.TestCase
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL