Fastlane-plugin-test_center: multi_scan deleting screeenshots from previous run when re-running tests

Created on 6 Feb 2018  路  4Comments  路  Source: lyndsey-ferguson/fastlane-plugin-test_center

This is more of a discussion than anything. As you can't get Scan any more xcpretty commands there's no obvious way of collating screenshots for your reports.

Do you know any workarounds for this, @lyndsey-ferguson?

鈾伙笍 multi_scan 馃悶bug

Most helpful comment

The screenshots are stored in bundles. The fastlane snapshot action has code that demonstrates how to get at that data.

The easiest thing for me right now would be to allow a callback to be called in between retries so that a user of multi_scan could perform an action, such as parsing the output to get screenshots, aborting early if a maximum threshold of failed tests is exceeded, etc.

After adding that, I could provide a feature for getting snapshots etc.

All 4 comments

The screenshots are stored in bundles. The fastlane snapshot action has code that demonstrates how to get at that data.

The easiest thing for me right now would be to allow a callback to be called in between retries so that a user of multi_scan could perform an action, such as parsing the output to get screenshots, aborting early if a maximum threshold of failed tests is exceeded, etc.

After adding that, I could provide a feature for getting snapshots etc.

Added bug label as, like code coverage reports, screenshots should not be lost from a test runs with failing tests when a re-run happens.

@zacoid55, now that I support results_bundles, you could use that and pull out the screen shots from the bundle per test run. If you are up to it, I'd welcome a pull request that adds supports for keeping the screen shots or even merging results bundles.

Fixed in v3.5.0

Was this page helpful?
0 / 5 - 0 ratings