Documentation ¶
Index ¶
- func CreategitProjectsTestCase(w http.ResponseWriter, gitProjectsCreateJSON gitProjectsCreateJSON) error
- func FileExists(createFile, updateFile string) error
- func GetLenForJSONArray(jsonObj []byte) (int, error)
- func MapTestCasegitProjectsUserStoryMap(f *gherkin.Feature, tag string) ([]gitProjectsUserStoryTCNameMapping, error)
- func ReportFileExists(reportOutput string) error
- func UpdategitProjectsTestCase(w http.ResponseWriter, gitProjectsUpdateJSON gitProjectsUpdateJSON) error
- func UploadAttachmentsTogitProjectsServer() error
- func ValidateCreateResponse(respBytes []byte) error
- func ValidateUpdateResponse(respBytes []byte) error
- type CreateUpdateResponse
- type NEWOutputValidationGATAPIResponse
- type OutputValidationGATAPIResponse
- type Steps1
- type TestCases1
- type TestCasesUpdate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreategitProjectsTestCase ¶
func CreategitProjectsTestCase(w http.ResponseWriter, gitProjectsCreateJSON gitProjectsCreateJSON) error
CreategitProjectsTestCase gitProjects testcase
func GetLenForJSONArray ¶
GetLenForJSONArray json
func MapTestCasegitProjectsUserStoryMap ¶
func MapTestCasegitProjectsUserStoryMap(f *gherkin.Feature, tag string) ([]gitProjectsUserStoryTCNameMapping, error)
MapTestCasegitProjectsUserStoryMap maps
func ReportFileExists ¶
ReportFileExists report check
func UpdategitProjectsTestCase ¶
func UpdategitProjectsTestCase(w http.ResponseWriter, gitProjectsUpdateJSON gitProjectsUpdateJSON) error
UpdategitProjectsTestCase update
func UploadAttachmentsTogitProjectsServer ¶
func UploadAttachmentsTogitProjectsServer() error
UploadAttachmentsTogitProjectsServer upload
func ValidateCreateResponse ¶
ValidateCreateResponse response validation
func ValidateUpdateResponse ¶
ValidateUpdateResponse validate
Types ¶
type CreateUpdateResponse ¶
type CreateUpdateResponse struct { TestName string `json:"testName"` UserStory string `json:"userStory"` UpdateResult bool `json:"updateResult"` }
CreateUpdateResponse gitProjects need the same
type NEWOutputValidationGATAPIResponse ¶
type NEWOutputValidationGATAPIResponse struct { Result string `json:"result"` Failures []struct { Field []string `json:"field"` Reason string `json:"reason"` } `json:"failures"` }
NEWOutputValidationGATAPIResponse gat
type OutputValidationGATAPIResponse ¶
type OutputValidationGATAPIResponse struct { Result bool `json:"result"` Failures []string `json:"failures"` }
OutputValidationGATAPIResponse output
type Steps1 ¶
type Steps1 struct { StepIndex string `json:"stepIndex"` StepDescription string `json:"stepDescription"` StepExpectedResult string `json:"stepExpectedResult"` }
Steps1 steps
Click to show internal directories.
Click to hide internal directories.