Dejavu Compose Test Rule
class DejavuComposeTestRule<A : ComponentActivity>(delegate: AndroidComposeTestRule<ActivityScenarioRule<A>, A>) : ComposeContentTestRule(source)
A test rule that wraps AndroidComposeTestRule with automatic Dejavu lifecycle management. Enables Dejavu and resets recomposition counts before each test, so no @Before boilerplate is needed.
Properties
Functions
Link copied to clipboard
Returns the recomposition count for the composable identified by tag. Refreshes the tag-to-function mapping before lookup.
Link copied to clipboard
open override fun onAllNodes(matcher: SemanticsMatcher, useUnmergedTree: Boolean): SemanticsNodeInteractionCollection
Link copied to clipboard
open override fun onNode(matcher: SemanticsMatcher, useUnmergedTree: Boolean): SemanticsNodeInteraction
Link copied to clipboard
Link copied to clipboard
Resets recomposition counts to zero while preserving composition history.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard