Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Name string XMLContent []byte AttachmentPaths []string StepInfo models.TestResultStepInfo }
Result ...
type Results ¶
type Results []Result
Results ...
func ParseTestResults ¶
func ParseTestResults(testsRootDir string, useLegacyXCResultExtractionMethod bool, logger logV2.Logger) (results Results, err error)
ParseTestResults walks through the Test Deploy directory and parses all the Steps' test results.
The Test Deploy directory has the following directory structure:
test_results ($BITRISE_TEST_DEPLOY_DIR) ├── step_1_test_results ($BITRISE_TEST_RESULT_DIR) │ ├── step-info.json │ ├── test_run_1 │ │ ├── UnitTest.xml │ │ └── test-info.json │ └── test_run_2 │ ├── UITest.xml │ └── test-info.json └── step_2_test_results ($BITRISE_TEST_RESULT_DIR) ├── step-info.json └── test_run ├── results.xml ├── screenshot_1.jpg ├── screenshot_2.jpeg ├── screenshot_3.png └── test-info.json
type UploadRequest ¶
type UploadRequest struct { Name string `json:"name"` Step models.TestResultStepInfo `json:"step_info"` Assets []FileInfo `json:"assets"` FileInfo }
UploadRequest ...
type UploadResponse ¶
UploadResponse ...
Directories
¶
Path | Synopsis |
---|---|
Package converters contains the interface that is required to be a package a test result converter.
|
Package converters contains the interface that is required to be a package a test result converter. |
Click to show internal directories.
Click to hide internal directories.