fastlane-old / scan

The easiest way to run tests of your iOS and Mac app
https://fastlane.tools
221 stars 25 forks source link

Optimize the tests to run faster #104

Closed mfurtak closed 8 years ago

mfurtak commented 8 years ago

These changes speed up the scan test suite from taking 10.8s on my laptop, to now only taking 1.57s.

This applies the same FastlaneCore::Project object caching strategy from gym's tests.

The ReportCollector is also refactored to extract dependencies on the global Scan.config object. This allows this class to be tested in isolation, without needing the expensive Scan.config = work.

mpirri commented 8 years ago

:shipit: :100: