Android Testing Support Library

來源:互聯網
上載者:User

標籤:

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.3, Espresso 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?

Android Testing Support Library

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.