All Projects → xcpretty → Xcpretty

xcpretty / Xcpretty

Licence: other
Flexible and fast xcodebuild formatter

Programming Languages

ruby
36898 projects - #4 most used programming language
Gherkin
971 projects
HTML
75241 projects

Projects that are alternatives of or similar to Xcpretty

rumi
trivago continuous integration executor
Stars: ✭ 21 (-99.43%)
Mutual labels:  continuous-integration, ci
Format.cmake
💅 Stylize your code! Automatic clang-format and cmake-format targets for CMake.
Stars: ✭ 94 (-97.45%)
Mutual labels:  continuous-integration, ci
development-hub
A continuous integration solution for Power Apps.
Stars: ✭ 21 (-99.43%)
Mutual labels:  continuous-integration, ci
arduino-lint-action
GitHub Actions action to check Arduino projects for problems
Stars: ✭ 20 (-99.46%)
Mutual labels:  continuous-integration, ci
bx-docker
Tutorial on how to build Docker Images for the IAR Build Tools on Linux hosts. The IAR Build Tools on Linux are available for Arm, RISC-V and Renesas (RH850, RL78 and RX).
Stars: ✭ 28 (-99.24%)
Mutual labels:  continuous-integration, ci
flagsmith-nodejs-client
Flagsmith Node JS Client. Flagsmith lets you manage features flags across web, mobile and server side applications. Get builds out faster. Control who has access to new features.
Stars: ✭ 13 (-99.65%)
Mutual labels:  continuous-integration, ci
qodana-action
⚙️ Scan your Java, Kotlin, PHP, Python, JavaScript, TypeScript projects at GitHub with Qodana
Stars: ✭ 112 (-96.96%)
Mutual labels:  continuous-integration, ci
arduino-lint
Tool to check for problems with Arduino projects
Stars: ✭ 63 (-98.29%)
Mutual labels:  continuous-integration, ci
clusterfuzzlite
ClusterFuzzLite - Simple continuous fuzzing that runs in CI.
Stars: ✭ 315 (-91.45%)
Mutual labels:  continuous-integration, ci
Android-CICD
This repo demonstrates how to work on CI/CD for Mobile Apps 📱 using Github Actions 💊 + Firebase Distribution 🎉
Stars: ✭ 37 (-99%)
Mutual labels:  continuous-integration, ci
setup-scheme
Github Actions CI / CD setup for Scheme
Stars: ✭ 13 (-99.65%)
Mutual labels:  continuous-integration, ci
Ccmenu
CCMenu is a Mac application to monitor continuous integration servers.
Stars: ✭ 306 (-91.7%)
Mutual labels:  ci, continuous-integration
rasa-train-test-gha
A GitHub action to run easily rasa train and rasa test in the CIs.
Stars: ✭ 26 (-99.29%)
Mutual labels:  continuous-integration, ci
overview
Automate your workflows with GitHub actions for MATLAB.
Stars: ✭ 40 (-98.91%)
Mutual labels:  continuous-integration, ci
drevops
💧 + 🐳 + ✓✓✓ + 🤖 + ❤️ Build, Test, Deploy scripts for Drupal using Docker and CI/CD
Stars: ✭ 55 (-98.51%)
Mutual labels:  continuous-integration, ci
generate-changelog
generates changelog from git based on jira tickets
Stars: ✭ 18 (-99.51%)
Mutual labels:  continuous-integration, ci
npm-audit-ci
www.npmjs.com/package/npm-audit-ci
Stars: ✭ 18 (-99.51%)
Mutual labels:  continuous-integration, ci
swarmci
Swarm CI - Docker Swarm-based CI system or enhancement to existing systems.
Stars: ✭ 48 (-98.7%)
Mutual labels:  continuous-integration, ci
github-act-runner
act as self-hosted runner
Stars: ✭ 68 (-98.16%)
Mutual labels:  continuous-integration, ci
python-project-skeleton
An up-to-date and explanatory Python project skeleton with contiuous integration services.
Stars: ✭ 31 (-99.16%)
Mutual labels:  continuous-integration, ci

logo

xcpretty is a fast and flexible formatter for xcodebuild.
It does one thing, and it should do it well.

Gem version Build Status Code Climate Reviewed by Hound

Installation

$ gem install xcpretty

Usage

$ xcodebuild [flags] | xcpretty

xcpretty is designed to be piped with xcodebuild and thus keeping 100% compatibility with it. It's even a bit faster than xcodebuild itself, since it saves your terminal some prints.

Important: If you're running xcpretty on a CI like Travis or Jenkins, you may want to exit with same status code as xcodebuild. CI systems usually use status codes to determine if the build has failed.

$ set -o pipefail && xcodebuild [flags] | xcpretty
#
# OR
#
$ xcodebuild [flags] | xcpretty && exit ${PIPESTATUS[0]}

Raw xcodebuild output

You might want to use xcpretty together with tee to store the raw log in a file, and get the pretty output in the terminal. This might be useful if you want to inspect a failure in detail and aren't able to tell from the pretty output.

Here's a way of doing it:

$ xcodebuild [flags] | tee xcodebuild.log | xcpretty

Formats

ANSI / UTF-8

  • --[no-]color: Show build icons in color. (you can add it to --simple or --test format). Defaults to auto-detecting color availability.
  • --[no-]utf: Use unicode characters in build output or only ASCII. Defaults to auto-detecting the current locale.

Reporters

  • --report junit, -r junit: Creates a JUnit-style XML report at build/reports/junit.xml, compatible with Jenkins and TeamCity CI.

  • --report html, -r html: Creates a simple HTML report at build/reports/tests.html. xcpretty html

  • --report json-compilation-database, -r json-compilation-database: Creates a JSON compilation database at build/reports/compilation_db.json. This is a format to replay single compilations independently of the build system.

Writing a report to a custom path can be specified using --output PATH.

Extensions

xcpretty supports custom formatters through the use of the --formatter flag, which takes a path to a file as an argument. The file must contain a Ruby subclass of XCPretty::Formatter, and return that class at the end of the file. The class can override the format_* methods to hook into output parsing events.

Known extensions

The recommended format is a gem containing the formatter and named with an xcpretty- prefix, for easier discovery.

Team

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].