The instrumentation testing framework is designed to do unit tests.
It's not a replacement for a full testing framework; instead, it
allows you to do true JUnit-style unit testing on Android component
classes.

Robotium is more of a functional/application-level testing framework.
Within object-oriented programming (strictly speaking), a "unit test"
tests an individual method by calling it in a controlled environment
and evaluating its results. The structure of test cases that Robotium
uses is similar to that of JUnit, but Robotium's level of work is a
class (an Activity, for example), not a method. In that sense, it's a
test harness for functional testing of a class.

Automated functional testing is necessary, but so is unit testing. The
latter is particularly important when you are modifying existing
behavior. IMHO, unit testing is also better at identifying
dependencies.

Android itself has "monkey", which is *a* tool for doing functional
testing, but has limited applicability.

On Oct 18, 12:18 am, Mathias Lin <[email protected]> wrote:
> Hi Andrei, not directly answering your question, but just want to
> point you towww.robotium.org, which is a testing framework and does
> tests across multiple activities.
>
> On Oct 18, 11:02 am, Andrei <[email protected]> wrote:
>
>
>
> > How do I use instrumentation testing framework to test flow between
> > activities?
> > The example goog gives is for one activity only
> > Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to