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 Koin unit testing deps implementation #1313

Merged
merged 1 commit into from
Dec 25, 2021

Conversation

DavidFair
Copy link
Contributor

Changes
This allows Koin to do DI during unit tests and allows us to establish
Junit rules which involve Koin

This is essential for testing some classes as the playback code, where
DI is used heavily.

Prerequisite of #1302

Copy link
Member

@nielsvanvelzen nielsvanvelzen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change would've been fine to be included in the PR actually using it. But we can merge it as-is.

app/build.gradle.kts Outdated Show resolved Hide resolved
This allows Koin to do DI during unit tests and allows us to establish
Junit rules which involve Koin
This is essential for testing some classes as the playback code, where
DI is used heavily
@nielsvanvelzen nielsvanvelzen enabled auto-merge (rebase) December 25, 2021 11:10
@nielsvanvelzen nielsvanvelzen merged commit 2990ffa into jellyfin:master Dec 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants