The second Android 11 Developer Preview is now available, test it out and share your feedback.

androidx.navigation.testing

Classes

TestNavHostController

Subclass of NavHostController that offers additional APIs for testing Navigation.