O'Reilly logo

Android Application Testing Guide by Diego Torres Milano

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the TemperatureConverterActivityTests project

We only have some templates in our main project created by the Android ADT plugin, such as:

  • TemperatureConverterActivity
  • main.xml layout
  • strings.xml resources
  • Other resources, like icons

Additionally, we have some templates created in our test project. The corresponding test packages to keep our tests separated from the main package are:

  • main.xml layout
  • strings.xml resources
  • Other resources, like icons

Note

Be very cautious and don't let the template files fool you. There's little or no use of these resources in the test project so to avoid confusion, you should delete them. If later on you discover that some tests require specific resources, you can add only the needed ones.

Proceed with creating the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required