Name | Updated at | |
---|---|---|
etc | ||
res | ||
tests | ||
Android.bp | ||
README |
CATBOX Trade Federation, catbox-tradefed for short, is the next generation test harness for CAT (Complete Automotive Testing).
catbox-tradefed is built on top of the Android Trade Federation test harness.
Example: PATH=$PATH:/home/myuser/android-sdk-linux_x86/platform-tools
Follow the 'ADB and AAPT' setup steps documented in the User Manual. The User Manual can be found at https://source.android.com/compatibility/cts/setup#adb
Connect the device to the host machine.
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 catbox --module <module_name>'
To run a specific test: 'run catbox --test <test_name>'
To shard a plan test run on multiple devices 'run catbox --shards note: all connected devices must be running the same build
For more options: 'run catbox --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 catbox-tradefed from the development environment: cd make catbox catbox-tradefed
More documentation and details on using and extending trade federation will be forthcoming in the near future.