Open SimonMarquis opened 3 months ago
Support for Kotlin TestFixtures on Android modules was added in AGP 8.5.0!
A lot more cleanup could be done, especially on test classes that redefine over and over again topics, newsResources, etc.
This is a new take on this PR:
To close this issue from 2022:
The main changes are split by commits:
enableTestFixturesKotlinSupport
:core:data-test
:sync:test
:core:datastore-test
:core:testing
:sync:work
:sync
android.experimental.enableTestFixturesKotlinSupport
Support for Kotlin TestFixtures on Android modules was added in AGP 8.5.0!
A lot more cleanup could be done, especially on test classes that redefine over and over again topics, newsResources, etc.
This is a new take on this PR:
To close this issue from 2022:
The main changes are split by commits:
enableTestFixturesKotlinSupport
flag:core:data-test
,:sync:test
and:core:datastore-test
have been merged as testFixtures sourceSet of their respective module.:core:testing
content has been migrated when possible to already existing modules.:sync:work
has been move to it's parent:sync
module that was previously empty.android.experimental.enableTestFixturesKotlinSupport
to promote from experimental?