-
Notifications
You must be signed in to change notification settings - Fork 229
Enable and introduce kotlin test fixtures #47
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
base: studio-main
Are you sure you want to change the base?
Enable and introduce kotlin test fixtures #47
Conversation
@@ -21,3 +21,6 @@ kotlin.code.style=official | |||
# resources declared in the library itself and none from the library's dependencies, | |||
# thereby reducing the size of the R class for that library | |||
android.nonTransitiveRClass=true | |||
# Enbale test kotlin fixtures | |||
# Can't find official documentation https://emartynov.medium.com/android-project-test-fixtures-dec50c5d8533 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://issuetracker.google.com/issues/259523353#comment21 might worth a mention? (The thread has a lot of info)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean to mention compatibility with tooling versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean that's the most official doc we have.
Thank you for contributing to this recipe. Have you ran the recipe and verified the tests pass? |
Yes, I did run tests and they were green |
I found the snippet only for Java test fixtures. However, I believe the majority of projects are using Kotlin, and there will be a high demand for test fixtures written in Kotlin.
Updating snippet for Kotlin variant of test fixtures.