Skip to content

bash script to run iOS unit tests and extract captured screenshots

Notifications You must be signed in to change notification settings

joeypatino/screenshots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Screenshots

This bash script automates the extraction of screenshots from an Xcode test result (.xcresult) package. It requires the xcparse tool, which is used to extract the screenshots.

Requirements

Usage

Runs unit tests and extracts captured images to the ./screenshots directory relative to the Xcode project or workspace.

$ ./screenshots.sh --argument <Options>

  --project  The name of the Xcode project.
  --workspace  The name of the Xcode workspace.
  --scheme  The project scheme to build.
  --testLanguage  The language to run the simulator/unit tests in.
  --argument  A command line argument that will be passed directly to your unit tests. You should wrap the argument in quotes. You may pass as many arguments as needed.
  --usage  Prints usage information.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/joeypatino/screenshots. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Meta

Joey Patino – @nsinvalidarg – [email protected]

License

screenshots is available as open source under the terms of the MIT License.

About

bash script to run iOS unit tests and extract captured screenshots

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages