Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Testing Android with Open Source

Testing Android with Open Source

Matthias Käppler

February 22, 2010
Tweet

More Decks by Matthias Käppler

Other Decks in Programming

Transcript

  1. Testing Android Testing Android with with Open Source Open Source

    ~ Matthias Käppler ~ ~ Matthias Käppler ~ February 23rd, 2010
  2. 1h Workshop 1h Workshop (1) Writing Android tests 5m (2)

    Writing Android tests: Example 15m (3) Build management / Maven 5m (4) Build management / Maven: Example 15m (5) Build automation / Hudson 5m (6) Build automation / Hudson: Example 15m
  3. Android testing Android testing As usual! Android uses JUnit 3

    android.test: AndroidTestCase < junit.framework.TestCase InstrumentationTestCase < junit.framework.TestCase
  4. Build automation Build automation Nice, we can now build and

    deploy our app from the command line. But we still have to do it manually.
  5. Build automation Build automation What we need is a build

    server, which automatically triggers builds.
  6. Build automation Build automation Hudson is a continuuous integration server.

    It can run builds when people commit pieces of work. This is extremely helpful for discovering software regressions early on.
  7. Build automation Build automation Hudson is a Java Web application.

    It consists of a single WAR. $ java -jar hudson.war