xcbeautify is a little beautifier tool for
xcpretty, but written in Swift.
- [x] Human-friendly and colored output.
- [x] Supports the new build system's output.
- [x] Supports Xcode 10's parallel testing output.
- [x] Supports formatting Swift Package Manager output.
- [x] Supports macOS & Linux.
- [x] Written in Swift:
xcbeautifycompiles to a static binary which you can bring anywhere. This also means less Ruby-dependant in your development environment and CI.
xcbeautify does not support generating JUnit or HTML test reports.
In fact, you shouldn't rely on
xcodebuild's output to generate test reports.
We suggest using trainer or
generate test reports from
xcbeautify uses itself to format its CI build logs.
brew tap thii/xcbeautify https://github.com/thii/xcbeautify.git brew install xcbeautify
mint install thii/xcbeautify
xcbeautify binary will be installed at
Build from source
git clone https://github.com/thii/xcbeautify.git cd xcbeautify make install
xcodebuild [flags] | xcbeautify
If you want
xcbeautify to exit with the same status code as
(e.g. on a CI):
set -o pipefail && xcodebuild [flags] | xcbeautify
- [ ] Write more tests
- [ ] Performance improvements
To release a new version, say
make release version=x.y.z
Just send a PR! We don't bite ;)
Help us keep the lights on
0.3.7 - Feb 4, 2019
0.3.6 - Dec 14, 2018
- Fixes an issue when installs
xcbeautifyusing Mint (#3). Thanks @yonaskolb!
0.3.5 - Oct 18, 2018
- Fixes crash when parsing
PBXCpcommands (#1). Thanks @vborodav!
- Improves format of other