-
Notifications
You must be signed in to change notification settings - Fork 509
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
roboelectric and Junit tests not working in latest android studio arctic fox #3773
Comments
@yash10019coder |
@yash10019coder @rt4914 I think its a bug in javaagent of the android studio. I was able to run the test cases in Intellij IDEA community IDE with following configuration. |
Thanks @darkmat13r |
@yash10019coder assigning this to you since you have a PR out to address this. |
This is an open issue to work on (#3783 is a good place to start--please also look at the comments). This is actually a rather important issue since it will affect new contributors, so we'd really appreciate help on this one. :) |
…d studio artic fox (#3783) * added changes in all gradle files * increased heap size * Revert "added changes in all gradle files" This reverts commit 5308dd2. * added the line in gradle.properties * removed commented code and also made heap size in multiple of 1024 * removed heap dump and other args.
Describe the bug
As you go to run any specific test by adding configuration a weird error comes saying that the memory is Filled fully
this is the SS of the error
To Reproduce
Steps to reproduce the behavior:
click on it then on edit configuration
After that a window pops up like this click on + symbol at the top left corner and then click on junit
then this window appears
then click on the blue part and select a app module and search a class to retrace what I did select the app module and then search the class StoryFragmentTest select it and click on apply and Ok then run the test by clicking on the run button or by shortcut Shift + F10 and you're done wait for it then the error appears as the gradle compiles and the app runs
NOTE that in android studio 4.2.1 this successfully runs this error happens only in artic fox
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots or videos to help explain your problem.
Device
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: