2.201.0
版本发布时间: 2022-01-21 21:24:27
fastlane/fastlane最新发布版本:2.222.0(2024-07-27 04:38:39)
- [scan][gym][snapshot] Remove XCPretty dependency and add xcbeautify as an option (#19629) via Josh Holtz
High Level Notes
-
scan
no longer relies on xcpretty for JUnit output or to determine success or failure -
trainer has now been moved inside of fastlane and is no longer needed as a plugin
- Please remove
fastlane-plugin-trainer
from yourGemfile
orPluginfile
- Please remove
- Added
xcodebuild_formatter
option toscan
,gym
, andsnapshot
Detailed Notes
-
scan
no longer relies on xcpretty for JUnit output or to determine success or failure-
trainer has now been moved inside of fastlane and is used to determine determine success and failure of
scan
- Note:
junit
will be made byxcpretty
is usingxcpretty
, otherwise it will be made withtrainer
- Note:
html
will only be made if usingxcpretty
-
trainer has now been moved inside of fastlane and is used to determine determine success and failure of
-
scan
's option fornumber_of_retries
now uses Xcode 13's retry tests- In Xcode 12 and under it will still use fastlane's implementation to try to only rerun tests that have failed
- Added
xcodebuild_formatter
option toscan
,gym
, andsnapshot
- Defaults to xcbeautify if installed
- But will default back to
xcpretty
if any "xcpretty" specific options are set (ex:xcpretty_formatter
,xcpretty_args
)
- But will default back to
- Otherwise falls back to xcpretty
- You can also pass anything for
xcodebuild
to pipe to likexcodebuild_formatter: "/path/to/other/xcbeautify"
- For no formatting, set the formatter to an empty string like `xcodebuild_formatter: ""'
- Defaults to xcbeautify if installed
- Added new option to
scan
foroutput_remove_retry_attempts
- Removes the count and any retry attempts from junit report and scan test results table
- Added migration error if using
fastlane-plugin-trainer
and tells user to remove it
View more info on Xcode Formatters