Update Jan 21, 2022 tracked by Updatify
2.201.0 Enable xcbeautify and remove dependency on xcpretty
- [scan][gym][snapshot] Remove XCPretty dependency and add xcbeautify as an option (#19629) via Josh Holtz
High Level Notes
-
scanno 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-trainerfrom yourGemfileorPluginfile
-
Please remove
-
Added
xcodebuild_formatteroption toscan,gym, andsnapshot
Detailed Notes
-
scanno 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:
junitwill be made byxcprettyis usingxcpretty, otherwise it will be made withtrainer -
Note:
htmlwill 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_retriesnow 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_formatteroption toscan,gym, andsnapshot-
Defaults to xcbeautify if installed
-
But will default back to
xcprettyif 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
xcodebuildto pipe to likexcodebuild_formatter: "/path/to/other/xcbeautify" -
For no formatting, set the formatter to an empty string like
xcodebuild_formatter: ""' - Added new option toscanforoutput_remove_retry_attempts- Removes the count and any retry attempts from junit report and scan test results table - Added migration error if usingfastlane-plugin-trainer` and tells user to remove it View more info on Xcode Formatters
-
Defaults to xcbeautify if installed