Scribe-Android
Scribe-Android copied to clipboard
Add Unit Tests for AboutScreen
Terms
- [X] I have searched open and closed feature requests
- [X] I agree to follow Scribe-Android's Code of Conduct
Description
Add unit tests to verify the functionality of the utility functions and logic used in the AboutScreen.
The following things has to be done in this issue:
-
Test Utility Functions:
- Validate
AboutUtil.getCommunityListwith mockcontextand click handlers. - Test
AboutUtil.getFeedbackAndSupportListfor correct item generation. - Ensure
AboutUtil.getLegalListItemsproduces the expected legal items.
- Validate
-
Test Click Handlers:
- Mock context and validate functions such as:
AboutUtil.onShareScribeClickAboutUtil.onRateScribeClickAboutUtil.onMailClick
- Mock context and validate functions such as:
-
Test Hint Reset Logic:
- Verify
HintUtils.resetHintsis invoked and state updates as expected.
- Verify
Contribution
Happy to help anyone solve this issue or take this up myself at some point :)
Can i work on this @angrezichatterbox ?
Assigned :)
Thanks for taking up the issue. In case of queries feel free to ask it here.
@angrezichatterbox I think we can skip testing parts that deals with context like Test Click Handlers: as it more related to android/OS not a pure logic.
Quick check in here @Saifuddin53 👋 Are you still planning on working on this issue? Hope so and hope all's well with you! 😊
Hello @andrewtavis 👋, will it work fine for you if I try to complete it this week?
And sir haven't wikimedia participated this year in GSOC ?
Totally fine if you get to it this week, @Saifuddin53! Take your time :)
And sir haven't wikimedia participated this year in GSOC ?
No need to refer to me as sir, firstly :) And sadly Wikimedia won't be participating in this year's GSoC because of some clerical errors that weren't cleared up. Details on this can be found here. Scribe is thus not participating in GSoC 2025, and the project we had will be in Outreachy Round 30.
Happy to answer further questions, and feel free to email me or message me on Matrix with more specific questions. We also have the [Mentorship Programs](Hey, join this room on https://matrix.to/#/%23SribeGSoC%3Amatrix.org) room on Matrix where we discuss these sorts of topics in general 😊
hi.. I'm interested in this issue. may I know how's the progress going @Saifuddin53 ? can I collaborate on this?
Happy to assign you to collaborate here, @catreedle :) @Saifuddin53, let us know if you'd like to continue working on this! We're looking forward to the chance to collaborate with you again 😊
@catreedle, feel free to start planning out the work here and preparing a PR. We can then take it from there 🚀
Closed by #420 🚀 Thanks for the great work, @catreedle! 😊