Comments (10)
Any feedback here? I find it funny how fastlane
is telling me that it saved me time when I can easily see that scan
is compiling twice - so running the tests takes about twice as long as it did when I were using only xcodebuild
.
from scan.
Looks like this is an issue. I tried running the xcodebuild command generated by scan directly without the build option. Just clean test. That seems to have cut the time in half.
from scan.
@yakimant did you test everything when removing the build
part of the command? I'm pretty sure there was a reason this was added to scan
a while back, but can't remember why.
from scan.
+1 for that. scan
takes significantly more because it involves rebuilding the whole thing VS hitting CMD+U
on Xcode. clean: false
doesn't seem to help.
from scan.
@KrauseFx I have been using xcodebuild to workaround this problem, instead of Scan. Currently, I am just passing the test command and have seen no issues with it in running our CI.
Also, I compared the execution times of just xcodebuild test from fastlane and using Scan from fastlane. Scan is considerably slower because does a build and test. Hope this helps.
I have a PR, if you think everything's alright - #62
from scan.
I am also seeing not only everything built twice but the tests are being ran twice xcodebuild
till it gets fixed
from scan.
same here.
from scan.
Was able to speed things up thanks to #86 by using gym to build the binary first then run scan with the new skip_build
flag and then deploying same binary that was used for the tests
from scan.
Yeah, thanks for updating this issue, this is now implemented with #86
from scan.
This issue was migrated to fastlane/fastlane#3353. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo
from scan.
Related Issues (20)
- scan doesn't play well with XLTestLog HOT 2
- scan not building a framework target tests scheme HOT 2
- Exit status: 65 HOT 1
- Add link to action in fastlane HOT 4
- slack hook not work on "slack_url" and "slack_channel" HOT 2
- Returning the test result HOT 6
- Scan picks the wrong project name for Slack message HOT 4
- Integration with OCLint? HOT 6
- Reinstalling app before Tests are run via scan HOT 4
- `handle_results': Tests failed (RuntimeError) HOT 6
- Error 65 HOT 1
- Test marked with the `@available(iOS 9.0, *)` decorator are ran on a iOS 8 simulator HOT 5
- App screenshots of failed steps HOT 2
- undefined method `message' for nil:NilClass in 'handle_results' method HOT 7
- Is it possible to run individual test case/test class? HOT 3
- Connection interrupted, some tests skipped HOT 2
- Cannot run tests (iPhoneSimulator: Could not launch simulator: -600) HOT 2
- Scan hangs running test against target with missing linked files HOT 3
- Unable to find a destination matching the provided destination specifier HOT 3
- Segmentation fault: 11 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scan.