fastlane-plugin-ionic_integration
fastlane-plugin-ionic_integration copied to clipboard
Questions for understanding the code
Looking at the code right now, trying to understand some things. I know this is quite old now, but maybe you still remember:
-
ionic_ios_config_snapshot_action
copies the test files for one scheme name (ui-snapshots
by default). But thenionic_ios_snapshot_action
loops over all schemes it finds. Why is that? -
Why is this output when it opens the project? https://github.com/knocknarea/fastlane-plugin-ionic_integration/blob/67c31c2f5f20408a634d2ac873f595941a14437e/lib/fastlane/plugin/ionic_integration/actions/ionic_ios_snapshot_action.rb#L43
-
Why is
ionic_min_target_os
a parameter? Where and why would one need this? -
Why the configurable scheme name? Is there any use to be able to give this a specific name that I don't see (yet)?
- Why the separation into two actions?
'1) and 4) are probably to enable adding of multiple "test suites". The first action just creates new files under a specified "scheme name", the other then works with all schemes it can find to integrate them into the project.