-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Publish testutil package via jCenter #6267
Comments
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
I don't see anything speaking against publishing these modules as they are. Note that we are unlikely to provide new features just for testing external usages though. If you want to get started on unit tests involving the full player, please have a look at ExoPlayerTest for example, which uses ExoPlayerTestRunner. |
This allows external users to easily write unit tests involving ExoPlayer instances. Issue:#6267 PiperOrigin-RevId: 266741790
Code prepared for publication. I leave this issue open until we actually ensured it's available on jCenter |
This has been requested (for |
[REQUIRED] Searched documentation and issues
This question is a follow up to #3810.
[REQUIRED] Question
We are developing a lib that wraps around exoplayer. It is somewhat hard to write unit test for
Player.EventListener
, for example, without loading a real video, thread sleeping, etc. From #3810 I noticed there's a way to emulate portions of exoplayers's behavior and was wondering if the way to go would be for us to just copy your testutil classes or if there are plans to expose them as actual testing libs, analogous to spring-test, that provides helpers and stubs for http function.The text was updated successfully, but these errors were encountered: