Evan ChenAndroid TDD Part 13 — Summary of testingLet’s summarize the test on Android. Android tests include :2 min read·May 28, 2022----
Evan CheninLevel Up CodingUsing LocalDate, LocalTime, LocalDateTime with Java 8 in AndroidDealing with Date and time in android, you might use Date(java.util.Date) or Calendar(java.util.Calendar).Now you have a better option…2 min read·May 25, 2022----
Evan ChenKotlin extensionYou can extend a class with a new function without modifying that class.1 min read·May 19, 2022----
Evan ChenAndroid TDD Part 12 — Set test environment variables from GradleIn this article, we'll introduce setting a test environment variable from Gradle.3 min read·Aug 17, 2020----
Evan ChenAndroid TDD Part 11 — Use custom view to improve testabilityYou can create a custom view by combining views. For example, this is a number selector, which put a “-” button, “+” button, and Textview…4 min read·Aug 13, 2020----
Evan ChenAndroid TDD Part 10— RobolectricWe already know running UI and Instrumented tests on devices are slow. There is another way to verify interaction with Android Framework…2 min read·Aug 8, 2020----
Evan ChenAndroid TDD Part 9— UI Test: EspressoRunning UI tests take more time than unit tests, but we still need it. Espresso is an Android UI test framework. you can get a view by id…3 min read·Jul 30, 2020----
Evan ChenAndroid TDD Part 8— Instrumented TestsMock every android framework may not be a good idea because we don’t know if the app can run on real devices. In the previous sample, we…2 min read·Jul 25, 2020----
Evan ChenAndroid TDD Part 7— Mock android frameworkAs we mentioned before, if tested object interacts with the Android framework, this test is an Instrumented test which means needs to be…2 min read·Jul 23, 2020----
Evan ChenAndroid TDD Part 6— First Android unit testNow, we are going to test on Android. There are three types of tests on Android:5 min read·Jul 17, 2020----