Android Testing Support Library

This release includes three major updates:
Espresso-Web[1]: an Espresso-like API for automated UI testing of hybrid Android applications. Use Espresso-Web to test and interact with any WebView and seamlessly integrate it with your native Espresso UI tests.
Accessibility-Checks[2]: is a set of Accessibility checks that once enabled will automatically perform accessibility checks on your views. The good news is, that once these checks are enabled, they are performed automatically and you get the accessibility testing more or less for free.
Junit/Dagger/Hamcrest: In this release we did a lot of internal clean up. We bumped up the JUnit version to 4.12, we now use the new and shiny Dagger 2 and we upgraded Hamcrest to 1.3, which was one of the most flagged bugs on the bug tracker.

All samples[3] have been updated to use Runner/Rules 0.3Espresso 2.2 and the new @VisibleForTesting annotation from support-annotations[4].

Of course, we have also squashed some reported bugs and addressed minor feature requests from android-test-kit[5]. See release notes[6] and javadoc[7] for details.

This is also the first release that includes some AOSP contributions. Shout out to +Jake Wharton for DisableOnAndroidDebug* Rule and+Eric Denman who contributed gravity support for DrawerActions. Thank you both for your contributions and feedback! 
If you are interested in contributing to ATSL, please refer to our external contributions guide[8]. 

Happy testing from the ATSL team +Valera Zakharov+Nick Korostelev+Jose Alcérreca and +Stephan Linzner 

#AndroidDev   #AndroidTesting   #happytesting   #io15  

[0] https://developer.android.com/tools/testing-support-library/index.html
[1] Documentation coming soon!
[2] Accessibility Checks - https://code.google.com/p/android-test-kit/wiki/AccessibilityChecking
[3] Samples on Github - https://github.com/googlesamples/android-testing/
[4] VisibleForTesting Annotation -https://plus.google.com/+StephanLinzner/posts/GBdq6NsRy6S?
[5] Android-Test-Kit Issues - https://code.google.com/p/android-test-kit/issues/list
[6] Release Notes - https://code.google.com/p/android-test-kit/wiki/ReleaseNotes
[7] Javadoc -https://developer.android.com/reference/android/support/test/espresso/package-summary.html
[8] Guide to external contributions - https://goo.gl/a2HH2W?

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。