-
-
Notifications
You must be signed in to change notification settings - Fork 335
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
Bug: AssertException for SharedPreferences when running couple test cases together #313
Comments
Try cleaning or unmocking |
@oleksiyp Tried adding |
@oleksiyp Can you please confirm is this is a valid issue or am I missing something. For some reason it seems to be the issue with sharedPreferences only?? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you are sure that this issue is important and should not be marked as |
Expected Behavior
Behaviour should be same regardless if they are run together or solo.
Current Behavior
Each individual test case passes when running it solo but when running it together with the entire class it throws AssertException for all the tests except the first one.
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Failure Logs
Please include any relevant log snippets or files here.
Stack trace
Minimal reproducible code (the gist of this issue)
// -----------------------[ YOUR CODE STARTS HERE ] -----------------------
// -----------------------[ YOUR CODE ENDS HERE ] -----------------------
The text was updated successfully, but these errors were encountered: