Skip to content

RuiAlexandre95/android-simple-test-demo

This branch is up to date with codepath/android-simple-test-demo:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8527c7d · Nov 28, 2013

History

11 Commits
Oct 27, 2013
Oct 27, 2013
Nov 28, 2013
Nov 28, 2013
Oct 27, 2013
Oct 27, 2013
Oct 27, 2013
Nov 28, 2013
Oct 27, 2013
Oct 27, 2013
Oct 27, 2013

Repository files navigation

android-simple-test-demo

Simple Android App used for Demonstrating Testing. See our Android Testing Guide.

Screen 1

 

Screen 2

This app is just two activities. The first has a text field and a button. When you type in the text field and hit the button, a second activity appears that displays the text entered.

Setup

Robolectric

Robolectric - Install robolectric, setup new project as explained and then link in the "roboelectric-tests" folder from this repo as a source folder.

Robolectric

To run robolectric unit tests, right-click project and select Run As => JUnit Test

Robotium

Robotium - Select File => Import => Existing Projects Into Workspace and then select the "robotium-tests" folder. This loads the folder into eclipse.

Robotium

To run robotium tests, right-click project and select Run As => Android JUnit Test

About

Simple Android App used for Demonstrating Testing (Week 5)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%