[RFC] Improve test time #4963
Labels
enhancement
The issue or pull request is an enhancement
iOS
Issues affecting iOS
macOS
Issues affecting macOS
request-for-comments
The issue is a suggested idea seeking feedback
Milestone
Api diff
There are two parts here
Instead of creating (and building and running) a different test app for every BCL test, we could try putting multiple test assemblies in each test app. There might be some test assemblies that are incompatible with each other, so we might still end up with more than one test app, but a lot of the time spent testing is spent building/installing/launching apps in the simulator(s).
Make sure we don’t build/package more XM tests than we need. PR [tests] Only build exactly what's neded for running XM tests on older bots. #5038.
Improve our automatic test selection.
Go through slower tests and see if they can be optimized/modified to be faster:
Parallelize more. I estimate that around 20-25 minutes could be saved by doing something like this (dot file):
A table of some timings are available here.
The text was updated successfully, but these errors were encountered: