Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add comprehensive ViewModel unit tests #206

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

Closed

Conversation

@MihaiCristianCondrea
Copy link
Owner

@MihaiCristianCondrea MihaiCristianCondrea commented Sep 15, 2025

Summary

  • make CodeViewModel accept an injected GetLessonUseCase so it can be supplied with fakes in tests
  • add unit coverage for the Code, Help, Settings, and Support ViewModels using fake repositories and verifying delegation
  • expand HomeViewModel tests to exercise promoted-app filtering and intent construction edge cases

Testing

  • ./gradlew test (fails: Android SDK is not available in the execution environment)

https://chatgpt.com/codex/tasks/task_e_68c8915ed4a8832da5019f5fd425794c

chatgpt-codex-connector[bot] reacted with thumbs up emoji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /