Skip to content

Testing

Robin edited this page Sep 13, 2024 · 2 revisions

Prerequisites

You must install two applications to test the Spark demo app.

Note : On first launch of Xcode, follow the instructions to download simulators.

Instruction

Testing Process

You have two possibilities to test the demo app :

  1. Test the Demo app from the current main branch of spark-ios repository.
  2. Test the Demo app from a component repository. The component repository from a pull request will be injected in the Demo app.

1. Demo app from main

  1. Go to Actions in spark-ios
  2. On the left panel, select build-demo-app-from-main
  3. Click on Run workflow button, select the main branch (or an another one if you want) then click on Run workflow.
  4. A new line below the Run workflow should be appear. Wait until you have the green round icon on the new line.
  5. Click on the title of this line.
  6. On the Artifacts section, download the SparkMainDemo.app.

2. Demo app from component

  1. Go to the Pull Request page.
  2. Search the last github-actions (bot) comment and download the SparkDemo.app. See example here.
  3. Open the Sparkans mac os application.
  4. Launch Sparkans, on the Simulators entry on the sidebar, select the simulator you want and add the SparkDemo.app.

Troubleshooting

Don't hesite to contact the Spark-ios team if you have any trouble.

Clone this wiki locally