Skip to content
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 Tests for NewPlayer #11

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Conversation

nicholasala
Copy link

@nicholasala nicholasala commented Nov 21, 2024

Hello everybody

I am writing some tests for NewPlayer. I started from unit tests and then I can move on to UI tests. I write a list here with which classes are tested and which are supposed to be tested, then I will update this list. Feel free to suggest additions to the list.

Unit tests

  • CachingRepository
  • PrefetchingRepository
  • NewPlayerImpl
  • NewPlayerViewModelImpl

@nicholasala nicholasala changed the title Tests Testing Nov 21, 2024
@ShareASmile ShareASmile changed the title Testing Add Tests for NewPlayer Nov 22, 2024
@ShareASmile ShareASmile added tests Issues and PR related to unit & UI tests code quality Improvements to the codebase to improve the code quality labels Nov 22, 2024
@theScrabi
Copy link
Member

theScrabi commented Jan 3, 2025

lgtm. Please squash your commits though.

@nicholasala
Copy link
Author

Hi guys

I think we have reached a good initial point considering unit tests. We have now 83 unit tests and the priority classes to be tested are tested now. So I am about to move to UI tests and I was thinking to start with VideoPlayerControllerUI. Let me know if you have other ideas 😉

@Stypox
Copy link
Member

Stypox commented Jan 10, 2025

@nicholasala do you want to continue on this branch, or would you prefer this PR to be merged, and then opening a separate PR?
Thank you a lot by the way!

I guess one of the most complex UI components to test is the guesture system. So maybe do that part after you tested other simpler stuff.

@nicholasala
Copy link
Author

Thank you @Stypox! I would prefer to close this PR and open a new one dedicated to UI tests, so I am going to mark this PR as ready for review 👍

Perfect, I will follow your advice regarding the UI tests

@nicholasala nicholasala marked this pull request as ready for review January 10, 2025 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Improvements to the codebase to improve the code quality tests Issues and PR related to unit & UI tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants