-
Notifications
You must be signed in to change notification settings - Fork 526
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
Fix app module tests in settings.profile for Robolectric #1870
Comments
Assigning this to myself as I had already made a PR (#1925 ) related to ProfileEditViewModel and it requires fixing ProfileEditActivityTest |
Thanks @alokbharti |
@alokbharti Unassigning you as you are solving only a part of it, not the complete issue. This blocks the issue to be taken for other contributors. |
* Fix ProfileRenameActivityTest for Robolectric * added top level comment
Test cases in ProfileEditActivityTest class are fixed. @Sarthak2601 please mark it complete and I think this issue can be closed now. |
closing this issue as it is fixed in multiple PR's |
Currently, the app module test cases in the settings.profile file are passing on Espresso but they should also pass on Robolectric. Fix these below mentioned files to make sure that the tests pass on Robolectric.
You can run robolectric tests by following these steps: https://github.com/oppia/oppia-android/wiki/Oppia-Android-Testing#running-roboelectric-tests
Fixing test cases will need to introduce TextApplicationComponent. This can be seen here.
The text was updated successfully, but these errors were encountered: