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
"Test events were not received" in Android Studio Artic Fox #83
Comments
Hey, thanks for the clear report.
|
Hi @Adambl4, thanks for the answer, tested and still the same. BTW, my mirakle setup is like this: initscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'io.github.adambl4:mirakle:1.5.0-RC-1'
}
}
apply plugin: Mirakle
rootProject {
mirakle {
host 'arc-prod-1.tuenti.io'
rsyncToRemoteArgs += ["-zPq", "--no-inc-recursive", "--info=progress2", "--exclude='.git'", "--copy-links"]
rsyncFromRemoteArgs += ["-zPq", "--no-inc-recursive", "--info=progress2", "--exclude='.git'", "--keep-dirlinks"]
downloadInParallel true
downloadInterval 2000
}
} |
Add this line to mirakle_init script and send me the output.
|
Sure, this is the output:
|
Okay. Could you also add this to mirake config and send me the output of
|
This is the full output now:
|
I'm testing on the same AS version and it works. Let's try to synchronize our env.
Could you also do the following:
|
Ok, done, this is my mirakle script now:
and the three files were there, this is what they have:
I've tried several times and the result is the same, the tests execute successfully, but seems like Android Studio doesn't get notified and it says that "Test events were not received" |
Hmm, still not clear.
|
Of course, here you have:
|
Hi, any updates on this? |
Thank you very much, @Adambl4 |
Guys, could you check does it work for you with |
on it |
it is working for me :) let me check with more teammates |
Hmm sorry, I thought it was going well, but checking the logs I'm seeing
does that long ring any bells? |
Could you try the latest Gradle version |
I've tried with that version, here is the log for a failing test:
|
Could you check another version please |
Sorry for the delay, I've tested it with similar results
|
Same for me. Is there any updates? |
Tried with 1.5.0 and in an empty project and me and my teammates are still having the issue. It's weird, because the first time works well, but second time starts failing. |
I've uploaded an empty project where I can reproduce the issue to a repo (anyway, it's an empty project with the example test): https://github.com/gmerinojimenez/mirakle-tests-android-studio And added the mirakle_init_scripts folder in this branch: gmerinojimenez/mirakle-tests-android-studio#1 |
Same on android studio bumblebee 2021.1.1. |
facing the same on AS bumblebee |
I tried running the command line that mirakle does. $ ssh mainframer "~/mirakle/my_project/gradlew" -Pmirakle.build.on.remote=true -p "~/mirakle/my_project" \
":home:testDebugUnitTest" --continue --parallel --configure-on-demand --project-prop \
"android.injected.enableStableIds=true" --project-prop "android.injected.build.density=420dpi" --project-prop \
"android.injected.build.api=31" --project-prop "android.injected.invoked.from.ide=true" --project-prop \
"android.injected.build.abi=arm64-v8a,armeabi-v7a,armeabi" \
--project-prop "android.injected.studio.version=2021.2.1 Patch 1" --system-prop "idea.active=true" --system-prop \
"idea.version=2021.2" --stacktrace
...
FAILURE: Build failed with an exception.
* What went wrong:
Task 'Patch' not found in root project 'my_project'.
...
This argument causes a parsing error. |
Compose view preview does not work when using mirakle. |
Hey guys, give me please some feedback on |
it also happened with
I think this issue should be reopened. |
@JSpiner what version of Android Studio you are using right now? |
Hi, Thank you very much, @Adambl4 and @JSpiner for the work. I've tested :) |
It doesn't work to me because I have other issues, but I can see that it works with a little modification. |
After migrating to Android Studio Artic Fox, when running unit tests from the IDE, it says "Test events were not received"
Here is the output:
I've tried with different versions of Gradle and also use Junit4 & Junit5, but I wasn't able to find a workaround
Steps to reproduce
Create an empty project in Android Studio, it will create a class called ExampleUnitTest. Try executing that test when mirakle is configured.
IntelliJ
I've also reproduced it in IntelliJ IDEA 2021.2.1 with the same STRs
The text was updated successfully, but these errors were encountered: