Skip to content

simple-life-apps/xcresults

 
 

Repository files navigation

xcresults

A command line tool to extract test summaries & screenshots from Xcode 11 XCResult files.

Installation

Build binary with command

./gradlew clean nativeCompile

If it cannot find GraalVM, install it with command

brew install graalvm-jdk

Usage

Put a file named excludeRules.json near the binary

Example of excludeRules.json:

{
   "excluded_prefixes":[
      "Get all elements",
      "Some attachments were deleted",
      "Some screenshots were deleted ",
      "Added attachment ",
      "Get all elements bound by index for:",
      "Checking `",
      "Find the ",
      "Tap \"",
      "Check for interrupting",
      "Waiting ",
      "Swipe down \"",
      "Press \"",
      "Checking existence of "
   ],
   "excluded_strings":[

   ]
}

xcresults <command> <options>

Below are a few examples of common commands. For further assistance, use the --help option on any command

Export to Allure2 results

xcresults export /path/to/Test.xcresult /path/to/outputDirectory

After that you can generate Allure report by following command:

allure serve /path/to/outputDirectory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 67.2%
  • FreeMarker 32.8%