-
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
Add thorough tests for the question player #503
Comments
Enough of #89 is now complete that this is no longer blocked. |
@anandwana001 I would like to work on this |
@chrk2205 assigned to you.
How you can send a pr for this:
Let me know if you need any help in this. |
there are some test cases already present in the |
@anandwana001
thanks |
Yes, for both comments above |
@anandwana001 Is this issue still needed to be fixed? |
@ayush0402 yes. There's no dedicated test suite for questions currently. We have a few tests in QuestionPlayerActivityTest, but what we really need are QuestionPlayerFragmentLocalTest and QuestionPlayerFragmentTest akin to StateFragmentLocalTest and StateFragmentTest, respectively, that test various interaction & hint scenarios for questions. |
Similar to #388 we need thorough tests for the question player once these can be written in a reliable way for both Espresso & Robolectric.
Test reference: https://github.com/oppia/oppia-android/blob/develop/app/src/sharedTest/java/org/oppia/android/app/topic/questionplayer/QuestionPlayerActivityTest.kt
The text was updated successfully, but these errors were encountered: