YoVDO

Testing in Android Course (How To)

Offered By: Treehouse

Tags

Android Development Courses Unit Testing Courses Mockito Courses JUnit Courses

Course Description

Overview

Learn how to use common testing tools available for Android development.

What you'll learn

  • Unit testing in Android
  • JUnit in Android

Syllabus

Unit Testing

Properly testing your codebase is important, but that doesn't mean it's easy! In this stage, we'll see why unit testing is so difficult on Android. We'll also see how we can successfully implement unit tests using Mockito!

Chevron 10 steps
  • Testing 1 - 2 - 3

    3:43

  • The First Test

    5:37

  • Digging Deeper, Answering Questions

    6:39

  • Answering Questions

    3 questions

  • Presenting the View

    8:21

  • Viewing the Presenter

    1 objective

  • Testing the Presenter

    6:34

  • Using the Presenter

    3 questions

  • Mocking with Mockito

    6:41

  • Mockito

    3 questions

Unit Testing - Now Featuring Robolectric!

In this stage we'll learn all about how to use Robolectric to 'defang' the Android SDK jar and supercharge our unit tests!

Chevron 5 steps
  • Introducing Robolectric

    5:26

  • Robotest 1

    3 questions

  • Testing with Robolectric

    6:41

  • Shadows and Intents

    6:52

  • Shadowy Intentions

    3 questions

UI Testing with Espresso

In this stage we'll harness the power of Espresso to automatically click through our app!

Chevron 6 steps
  • Introducing Espresso

    4:17

  • One Espresso Please!

    3 questions

  • The First UI Test

    7:22

  • Testing the Spinner

    9:11

  • Testing with onView

    5 questions

  • Push the Button

    3:50


Related Courses

Parameterized and Dynamic Testing in JUnit
LearnQuest via Coursera
Engineering Maintainable Android Apps
Vanderbilt University via Coursera
Java Testing - JUnit 5 Crash Course
freeCodeCamp
Learn Java 8 - Full Tutorial for Beginners
freeCodeCamp
Introduction to JUnit 5 and Integration with Selenium
Coursera Project Network via Coursera