• Home
Name Date Size #Lines LOC

..--

autotest_lib/03-May-2024-

bin/03-May-2024-9656

cli/03-May-2024-3,2772,430

client/03-May-2024-262,440199,064

contrib/03-May-2024-2,2841,786

database/03-May-2024-2,6011,817

docs/03-May-2024-3,7492,758

frontend/03-May-2024-38,55529,753

logs/03-May-2024-21

metadata/03-May-2024-17,06116,653

results/03-May-2024-94

server/03-May-2024-423,046341,414

site_utils/03-May-2024-26,25619,844

test_suites/03-May-2024-13,75910,735

tko/03-May-2024-10,7608,333

utils/03-May-2024-54,92341,673

venv/03-May-2024-5851

.gitignoreD03-May-20241.5 KiB9077

.style.yapfD03-May-202460 43

BLUETOOTH_OWNERSD03-May-2024352 1716

CTS_OWNERSD03-May-202485 64

ENGPROD_OWNERSD03-May-2024715 3531

FINGERPRINT_OWNERSD03-May-2024158 86

FIRMWARE_OWNERSD03-May-2024362 1917

HARNESS_OWNERSD03-May-2024208 87

INFRA_OWNERSD03-May-2024441 2220

LGPL_LICENSED03-May-20247.5 KiB166128

LICENSED03-May-202417.8 KiB348285

METADATAD03-May-202443 43

MODULE_LICENSE_LGPLD03-May-20247.5 KiB166128

OWNERSD03-May-2024162 74

OWNERS.androidD03-May-2024311 1110

POWER_OWNERSD03-May-2024105 75

PRESUBMIT.cfgD03-May-20241.1 KiB2420

PRESUBMIT.pyD03-May-2024890 2612

README.mdD03-May-20242.8 KiB7146

WIFI_OWNERSD03-May-2024253 1312

__init__.pyD03-May-20240 10

common.pyD03-May-2024308 98

global_config.iniD03-May-202415.5 KiB382329

main.starD03-May-2024439 142

ssp_deploy_config.jsonD03-May-2024590 2726

unblocked_terms.txtD03-May-2024745 3535

README.md

1# Autotest: Automated integration testing for Android and ChromeOS Devices
2
3Autotest is a framework for fully automated testing. It was originally designed
4to test the Linux kernel, and expanded by the ChromeOS team to validate
5complete system images of ChromeOS and Android.
6
7Autotest is composed of a number of modules that will help you to do stand alone
8tests or setup a fully automated test grid, depending on what you are up to.
9A 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 ChromeOS 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 ChromeOS.
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
40See 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
48See 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## Hacking and submitting patches
58
59See the coding style guide for guidance on submitting patches.
60
61[Coding Style](docs/coding-style.md)
62
63## Pre-upload hook dependencies
64
65You need to run `utils/build_externals.py` to set up the dependencies
66for pre-upload hook tests.
67
68## Setting up Lucifer
69
70[Setting up Lucifer](docs/lucifer-setup.md)
71