Exploring the Android Fragment Scenario component

235 阅读1分钟
原文链接: medium.com

Exploring the Android Fragment Scenario component

Go to the profile of Joe Birch
Joe BirchBlockedUnblockFollowFollowing

I’m always curious about what tools and features are coming up next in android — and to be sure I don’t miss out on any of this I like to keep an eye on release notes over on the android developer site. Two that caught my eye recently where the fragment-1.1.0-alpha01 and fragment-testing-1.1.0-alpha01 releases, within the testing side of things we see a new FragmentScenario component which provides us with an easy way to test our fragments in isolation. In this post I want to take a quick dive into this so we can get it integrated into our application tests.

Note: This is only currently available in the alpha release.