android - How to start Fragment directly for espresso test instead of activity -


i running espresso tests. problem instead of opening main.activity, want open fragment directly part of main activity before starting tests.

you can't. purpose of fragment run alongside activity. if want, can create empty activity run fragment , layout, , put activity mainactivity in manifest


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -