8000 Write tests for the functions in About Util · Issue #358 · scribe-org/Scribe-Android · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Write tests for the functions in About Util #358

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

Open
2 tasks done
angrezichatterbox opened this issue Apr 9, 2025 · 3 comments · May be fixed by #395
Open
2 tasks done

Write tests for the functions in About Util #358

angrezichatterbox opened this issue Apr 9, 2025 · 3 comments · May be fixed by #395
Assignees
Labels
-priority- High priority good first issue Good for newcomers help wanted Extra attention is needed

Comments

@angrezichatterbox
Copy link
Member

Terms

Description

This issue deals with writing tests for the following functions

  • Non-UI Functions

onShareScribeClick(context: Context)
onRateScribeClick(context: Context)
onMailClick(context: Context)

  • Composable Functions

getCommunityList(...)
getFeedbackAndSupportList(...)
getLegalListItems(...)

Contribution

Happy to help anyone fix this issue or take this up myself at some point :)

@angrezichatterbox angrezichatterbox added -priority- High priority help wanted Extra attention is needed labels Apr 9, 2025
@angrezichatterbox angrezichatterbox changed the title Write tests for the functions in Write tests for the functions in About Util Apr 9, 2025
@angrezichatterbox angrezichatterbox added the good first issue Good for newcomers label Apr 9, 2025
@DeleMike
Copy link
Collaborator

Hi, @angrezichatterbox would love to take this on. Can you explain this issue a bit more? and what will be the expected results?

@angrezichatterbox
Copy link
Member Author
angrezichatterbox commented Apr 11, 2025

Hey @DeleMike Thanks for taking it up :) 🚀

The issue deals with writing tests for the functions in about util. There are functions that require contexts which are instrumentation tests or could be tried using roboelectric. The tests involving the lists could be unit tests are could be checked whether we are getting the appropriate lists, whether the lists are empty,The items contain expected fields like title, icon, and onClick.

Happy to answer any more queries you would have 😄

@DeleMike
Copy link
Collaborator

okay😄
I will do some research and come back here if I have more questions, or else we will continue the discussion via the PR.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-priority- High priority good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants
0