Skip to content

Releases: ChargePoint/xcparse

1.0

18 Oct 20:55
Compare
Choose a tag to compare
1.0

Install via Homebrew 🍺

For new installs use

brew install chargepoint/xcparse/xcparse

To upgrade use

brew upgrade xcparse

Changes

  • Screenshots & attachment sub-commands now allow for division by test! When the --test option is provided, you'll find screenshots & attachments sorted into folder structures that mirror your test classes & method names.
  • Screenshots & attachment sub-commands will now support whitelisting specific test statuses or activity types. For example, you can filter to get screenshots of passing tests only using --test-status Success or filter to get user-created screenshots only using --activity-type userCreated attachmentContainer. See our README for more details!
  • Removed interactive mode as the options for parsing were limited & our --help messages are much more useful than before.

0.6

17 Oct 19:13
d09a5e9
Compare
Choose a tag to compare
0.6

Install via Homebrew 🍺

For new installs use

brew install chargepoint/xcparse/xcparse

To upgrade use

brew upgrade xcparse

Changes

  • Screenshots sub-command (xcparse screenshots) will now export only images & not other attachments such as test debug descriptions.
  • New sub-command attachments has been added (xcparse attachments). This command will export all test attachments by default. It can be configured with a uniform type identifier (UTI) filter option (--uti public.plain-text public.image) that can allow you to filter for attachments whose UTIs conform to one of the given options.
  • Addressed issue with multiple progress bars for same destination folder showing up depending on options given to screenshots sub-command

0.5

16 Oct 00:17
0b0c247
Compare
Choose a tag to compare
0.5

Install via Homebrew 🍺

For new installs use

brew install chargepoint/xcparse/xcparse

To upgrade use

brew upgrade xcparse

Changes

  • xcparse now allows for exporting screenshots in directory structures based off of device model, OS, & test run configuration. So running xcparse screenshots --model --os --test-run TestResultsTestPlan.xcresult . will get you this:

screenshots_options_recommended

  • The new screenshot export folder options can be enabled or disabled separately (so if you want to just division by model, use "--model" alone). Default with no options is to export the screenshots all into the output directory. (Thanks @ntsh for the enhancement request)

0.4

14 Oct 22:55
Compare
Choose a tag to compare
0.4

Install via Homebrew 🍺

For new installs use

brew install chargepoint/xcparse/xcparse

To upgrade use

brew upgrade xcparse

Changes

  • xcparse now uses proper subcommands with options. Read about them via "xcparse --help" & start using "xcparse screenshots" & "xcparse codecov" in preference to the legacy "xcparse -s" & "xcparse -x"
  • xcparse screenshots command no longer creates a "testScreenshots" folder & will put screenshots in the folder you specify (must be already created). Legacy "xcparse -s" supports the old behavior for backwards compatability.
  • Added progress bar to screenshot export
  • Verbose mode can now be run on all commands (regardless of static vs interactive mode)
  • Added some more error handling
  • Added a basic "xcparse logs" command that will export files which will contain logs inside them. Note that these files aren't raw logs files & are not identical to the logs exported when in Xcode; further work is needed to nicely export ActivityLogSection like Xcode, but the current support is enough for grep'ing purposes.

0.3.2

09 Oct 23:44
26934d0
Compare
Choose a tag to compare

Install via Homebrew 🍺

For new installs use

brew install chargepoint/xcparse/xcparse

To upgrade use

brew upgrade xcparse

Changes

  • Fixed issue #19 regarding screenshots not exporting on some xcresults (Thanks @NikitaZamalyutdinov & @kenji21 for reporting!) #20
  • Added a verbose mode in interactive mode. Run 'xcparse' then type 'v' to enable it & then run your command. Verbose mode will show all xcresulttool commands & JSON responses. If you encounter a bug in xcparse, attaching this info can help us debug without your XCResult.

0.3.1

09 Oct 00:18
Compare
Choose a tag to compare

Install via Homebrew 🍺

For new installs use

brew install chargepoint/xcparse/xcparse

To upgrade use

brew upgrade xcparse

Changes

  • Fixed issue #16 regarding missing non-optional array JSON keys in xcresulttool JSON format (Thanks @kenji21 for reporting!) #17
  • Address issue with exporting files with special characters in filename #18
  • Added visible xcparse version number in interactive mode. Run "xcparse" alone to see it.

0.3

04 Oct 22:30
f2473ce
Compare
Choose a tag to compare
0.3

Install via Homebrew 🍺

For new installs use

brew install chargepoint/xcparse/xcparse

To upgrade use

brew upgrade xcparse

Changes

  • Fixed issues #7, #8, #9 regarding Illegal Instruction on parsing xcresult & inability to parse Xcode 10 xcresults (Thanks @olevabel, @NikitaZamalyutdinov, & @maksim-sushkevich for reporting!)
  • Addressed parsing logic that was skipping over some screenshot attachments in the xcresult

0.2

03 Oct 18:31
Compare
Choose a tag to compare
0.2

Install via Homebrew 🍺

For new installs use

brew install chargepoint/xcparse/xcparse

To upgrade use

brew upgrade xcparse

Changes

  • Added ability to extract 'xccovarchive' required to merge code coverage data (#12) (Contributed by @NikitaZamalyutdinov 🙏)

0.1.1

02 Oct 20:52
676436e
Compare
Choose a tag to compare

Install via Homebrew 🍺

brew install chargepoint/xcparse/xcparse

Changes

  • Fixes #10 xcparse doesn't support space in file names & paths (Thanks @vince4 for report!)

0.1

27 Sep 23:11
c3ed1b3
Compare
Choose a tag to compare
0.1

Install via Homebrew 🍺

brew install chargepoint/xcparse/xcparse

Changes

  • Initial release of xcparse that supports parsing out screenshots from Xcode 11+ xcresult files
  • XCResult files generated by Xcode 10 and below can not be parsed with this version of the tool.