Enable and introduce kotlin test fixtures#47
Open
emartynov wants to merge 4 commits intoandroid:studio-mainfrom
Open
Enable and introduce kotlin test fixtures#47emartynov wants to merge 4 commits intoandroid:studio-mainfrom
emartynov wants to merge 4 commits intoandroid:studio-mainfrom
Conversation
TWiStErRob
reviewed
Mar 2, 2025
| # 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.
https://issuetracker.google.com/issues/259523353#comment21 might worth a mention? (The thread has a lot of info)
Author
There was a problem hiding this comment.
Do you mean to mention compatibility with tooling versions?
There was a problem hiding this comment.
I mean that's the most official doc we have.
Contributor
|
Thank you for contributing to this recipe. Have you ran the recipe and verified the tests pass? |
micahjo7
reviewed
Mar 3, 2025
Author
Yes, I did run tests and they were green |
micahjo7
approved these changes
Mar 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.