Home | History | Annotate | only in /external/autotest
Up to higher level directory
NameDateSize
.quickmerge_sentinel21-Aug-20180
.style.yapf21-Aug-201860
__init__.py21-Aug-20180
apache/21-Aug-2018
bin/21-Aug-2018
cli/21-Aug-2018
client/21-Aug-2018
COMMIT-QUEUE-moblab-pre-cq-only.ini21-Aug-2018316
COMMIT-QUEUE.ini21-Aug-2018569
common.py21-Aug-2018308
contrib/21-Aug-2018
database/21-Aug-2018
docs/21-Aug-2018
frontend/21-Aug-2018
global_config.ini21-Aug-201818.4K
leases/21-Aug-2018
LGPL_LICENSE21-Aug-20187.5K
LICENSE21-Aug-201817.8K
logs/21-Aug-2018
metadata.chromium21-Aug-2018319
moblab_config.ini21-Aug-20181.5K
MODULE_LICENSE_LGPL21-Aug-20187.5K
NOTICE21-Aug-201817.8K
PRESUBMIT.cfg21-Aug-2018762
README.md21-Aug-20182.7K
results/21-Aug-2018
scheduler/21-Aug-2018
server/21-Aug-2018
site_utils/21-Aug-2018
skylab_migration/21-Aug-2018
ssp_deploy_config.json21-Aug-2018590
test_suites/21-Aug-2018
tko/21-Aug-2018
utils/21-Aug-2018
venv/21-Aug-2018

README.md

      1 # Autotest: Automated integration testing for Android and Chrome OS Devices
      2 
      3 Autotest is a framework for fully automated testing. It was originally designed
      4 to test the Linux kernel, and expanded by the Chrome OS team to validate
      5 complete system images of Chrome OS and Android.
      6 
      7 Autotest is composed of a number of modules that will help you to do stand alone
      8 tests or setup a fully automated test grid, depending on what you are up to.
      9 A non extensive list of functionality is:
     10 
     11 * A body of code to run tests on the device under test.  In this setup, test
     12   logic executes on the machine being tested, and results are written to files
     13   for later collection from a development machine or lab infrastructure.
     14 
     15 * A body of code to run tests against a remote device under test.  In this
     16   setup, test logic executes on a development machine or piece of lab
     17   infrastructure, and the device under test is controlled remotely via
     18   SSH/adb/some combination of the above.
     19 
     20 * Developer tools to execute one or more tests.  `test_that` for Chrome OS and
     21   `test_droid` for Android allow developers to run tests against a device
     22   connected to their development machine on their desk.  These tools are written
     23   so that the same test logic that runs in the lab will run at their desk,
     24   reducing the number of configurations under which tests are run.
     25 
     26 * Lab infrastructure to automate the running of tests.  This infrastructure is
     27   capable of managing and running tests against thousands of devices in various
     28   lab environments. This includes code for both synchronous and asynchronous
     29   scheduling of tests.  Tests are run against this hardware daily to validate
     30   every build of Chrome OS.
     31 
     32 * Infrastructure to set up miniature replicas of a full lab.  A full lab does
     33   entail a certain amount of administrative work which isn't appropriate for
     34   a work group interested in automated tests against a small set of devices.
     35   Since this scale is common during device bringup, a special setup, called
     36   Moblab, allows a natural progressing from desk -> mini lab -> full lab.
     37 
     38 ## Run some autotests
     39 
     40 See the guides to `test_that` and `test_droid`:
     41 
     42 [test\_droid Basic Usage](docs/test-droid.md)
     43 
     44 [test\_that Basic Usage](docs/test-that.md)
     45 
     46 ## Write some autotests
     47 
     48 See the best practices guide, existing tests, and comments in the code.
     49 
     50 [Autotest Best Practices](docs/best-practices.md)
     51 
     52 
     53 ## Grabbing the latest source
     54 
     55 `git clone https://chromium.googlesource.com/chromiumos/third_party/autotest`
     56 
     57 
     58 ## Hacking and submitting patches
     59 
     60 See the coding style guide for guidance on submitting patches.
     61 
     62 [Coding Style](docs/coding-style.md)
     63 
     64 ## Pre-upload hook dependencies
     65 
     66 You need to run `utils/build_externals.py` to set up the dependencies
     67 for pre-upload hook tests.
     68