organicmaps / organicmaps

🍃 Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists. It uses crowd-sourced OpenStreetMap data and is developed with love by MapsWithMe (MapsMe) founders and our community. No ads, no tracking, no data collection, no crapware. Please donate to support the development!
https://organicmaps.app
Apache License 2.0
8.58k stars 837 forks source link

[xcode] Disable the tests parallelizing #7919

Closed kirylkaveryn closed 2 weeks ago

kirylkaveryn commented 2 weeks ago

When you run the tests by default Xcode uses the tests parallelizing. When tests are run in parallel, Xcode spins up multiple clones of the simulator. These simulator windows are named “Clone 1” and so on. This makes sense for slow-running UI tests but not for the fast-running unit tests. It takes longer for Xcode to set up the simulator clones.

This PR disables the tests parallelizing.

kirylkaveryn commented 2 weeks ago

It runs faster now, right? What was paralleled before? Did we have several tests?

For now the new simulator will not be created during the testing on the Xcode (like Simulator copy 1). All tests will be run on the current main simultato which is used fro development.

Its default setting for the newes xcodes but it impacts performance a lot. This feature for the test that can run a lot of time so you can use the main simulator during the testing process. But for us this feature is not very relevant.