https://developer.android.com/guide/navigation/testing/compose
Test Compose navigation | App architecture | Android Developers
This document guides developers on how to test their app's navigation logic in Navigation Compose using TestNavHostController.
test compose navigationapp architectureandroid developers