20171215 andoird-test-night
24
Tips for Android Test Support Library 1.0 Android Test Night #2 by @Kazu_cocoa
-
Upload
kazuaki-matsuo -
Category
Software
-
view
299 -
download
0
Transcript of 20171215 andoird-test-night
Kazuaki Matsuo( @Kazu_cocoa)
🏢: Cookpad Inc.
International Group
Software Engineer in Quality
Programming Language
OSS
Enable from Gradle
https://developer.android.com/training/testing/junit-runner.html#accessing-instrumentation-info
Tips1
• Instrumented tests failure with AndroidJUnitRunner 1.0.0 and AssertJ• https://stackoverflow.com/questions/45402645/instrumented-tests-failure-with-androidjunitrunner-1-0-0-and-assertj
Tips1
• Truth• https://github.com/google/truth• http://google.github.io/truth/
Tips2• Can’t keep the order for test cases with Annotation Type FixMethodOrder• Run with the Android Test Orchestrator
http://junit.org/junit4/javadoc/4.12/org/junit/FixMethodOrder.html