This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation for the tests_from_xcresult action
- Loading branch information
1 parent
c744ee0
commit b0d8117
Showing
4 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
|
||
# ☑️ tests_from_xcresult | ||
|
||
Performing analysis on an `.xcresult` bundle? Get the failing and passing tests using this action. | ||
|
||
> **Note**: I'm making this new action available to Supporters first to show them appreciation. I'll open it up to everyone else on September 1st, 2020. | ||
> | ||
> Interested in joining? Click [here ♥️](https://github.com/sponsors/lyndsey-ferguson) and select a tier that gives you early access to new features. | ||
> | ||
> **Bonus**: if your organization (👨👩👧) becomes a Sponsor, every member of that org gets that same early access! | ||
## Example | ||
|
||
<!-- tests_from_xcresult examples: begin --> | ||
|
||
```ruby | ||
|
||
UI.important( | ||
'example: ' \ | ||
'get the failed and passing tests from a xcresult bundle' | ||
) | ||
result = tests_from_xcresult(xcresult: './spec/fixtures/AtomicBoy.xcresult') | ||
UI.message("Passing tests: #{result[:passing]}") | ||
UI.message("Failed tests: #{result[:failed]}") | ||
|
||
``` | ||
<!-- tests_from_xcresult examples: end --> | ||
|
||
## Parameters | ||
|
||
<!-- tests_from_xcresult parameters: begin --> | ||
|Parameter|Description|Default Value| | ||
|:-|:-|-:| | ||
|xcresult|The path to the xcresult bundle to retrieve the tests from|| | ||
<!-- tests_from_xcresult parameters: end --> |