-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scan Does Not Output Tests Results #10561
Comments
It seems like this issue might be related to code signing 🚫 Have you seen our new Code Signing Troubleshooting Guide? It will help you resolve the most common code signing issues 👍 |
This issue is not related to code signing. |
I am having the same issue. If all of the tests succeed, it still doesn't list the tests. |
I'm having the same issue, no tests are reported in |
Hey everyone- does this reliably happen every time a test fails? |
Yes. I don't get reports anymore. Whether the tests succeed or fail. Just like @alexandreblin said, there used to be a nice table displayed in the shell output, but not anymore. |
Hmmm yeah there should be but Error 65 is different from a failing test case so fastlane just crashes there. If feels like the simulator is timing out given that that is usually what causes error 65's and this line |
This is the result from a test with
|
Sometimes I get this result. I am not sure why there are different results.
|
Hmmm, hey @SeanRobinson159 - could you try resetting your simulators and giving this another shot? Error 65 has always been a bit allusive, but generally it has something to do with something going wrong in the simulator. |
Funny you say that, I just tried that this morning. Same results. |
Could you just elaborate what you mean by "If I run the tests using a code they all pass"? |
Sorry, autocorrect. It was supposed to say: “...using Xcode they all pass.” |
Hmmm interesting. And have you tried clearing your derived data directory at all? |
This is the result when all tests pass. I have 28 UITests, but it still says 0/0.
|
Clearing the derived data directory did not change the results at all. |
Any update? I am still getting the same results on v2.64.1 |
@SeanRobinson159 How long do your tests take to run from Xcode? If you were to disable all of the tests (like comment them out, or just remove them from your test target temporarily), and add a simple test like an |
It looks like an issue from |
I started seeing this issue as soon as I updated to Xcode 9. So that would make sense. All of my UI tests take approx. 17 minutes to complete. With just a single test case, with
I have also tried running these tests through Fastlane on multiple computers, with the same results. This only started happening when I updated to Xcode 9. I am running the tests on 2 different simulators concurrently. I don't know if that helps you or not. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest |
We ended up using https://github.com/KrauseFx/trainer as a fastlane plugin to at least get JUnit reports in Jenkins while xcpretty isn't fixed. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest |
latest fastlane doesn't seem to resolve this issue, tested with fastlane-2.84.0 |
Until xcpretty/xcpretty#295 is resolved, this won't get changed. |
Hopefully something can be done for this. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍 |
New Issue Checklist
Issue Description
When running scan, I do not see the test results table explaining the number of successful/failing tests.
If a test fails, I get status code 65.
Complete output when running fastlane, including the stack trace and command used
Environment
✅ fastlane environment ✅
Stack
System Locale
fastlane files:
`./fastlane/Fastfile`
The text was updated successfully, but these errors were encountered: