Name | Updated at | |
---|---|---|
etc | ||
res | ||
tests | ||
Android.bp | ||
DynamicConfig.xml | ||
README |
Mainline Test Suite Trade Federation, mts-tradefed for short, is built on top of the Android Trade Federation test harness to test mainline modules.
Ensure 'adb' is in your current PATH. adb can be found in the Android SDK available from http://developer.android.com
Example: PATH=$PATH:/home/myuser/android-sdk-linux_x86/platform-tools
And ensure device is visible via 'adb devices'
To run a test plan on a single device:
Some other useful commands are
To run a test module: 'run mts --module <module_name>'
To run a specific test: 'run mts --test <test_name>'
To shard a plan test run on multiple devices 'run mts --shards note: all connected devices must be running the same build
For more options: 'run mts --help'
See http://source.android.com for instructions on obtaining the Android platform source code and setting up a build environment.
The source for the tradefed framework can be found on the 'tradefed' branch.
Perform these steps to build and run mts-tradefed from the development environment: cd m mts mts-tradefed
More documentation and details on using and extending trade federation will be forthcoming in the near future.