Android 12 Developer Preview is here! Try it out, and give us your feedback!

androidx.navigation.testing

Classes

TestNavHostController

Subclass of NavHostController that offers additional APIs for testing Navigation.