package

androidx.fragment.app.testing

Interfaces

FragmentScenario.FragmentAction<F>FragmentAction interface should be implemented by any class whose instances are intended to be executed by the main thread.

Classes

FragmentScenario<F>FragmentScenario provides API to start and drive a Fragment's lifecycle state for testing.
FragmentScenario.EmptyFragmentActivityAn empty activity inheriting FragmentActivity.
FragmentScenario.FragmentFactoryHolderViewModelA view-model to hold a fragment factory.