|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| bin/ | | 23-Nov-2023 | - | 96 | 56 |
| cli/ | | 23-Nov-2023 | - | 3,349 | 2,500 |
| client/ | | 23-Nov-2023 | - | 318,746 | 241,758 |
| contrib/ | | 23-Nov-2023 | - | 3,820 | 2,689 |
| database/ | | 23-Nov-2023 | - | 3,249 | 2,277 |
| docs/ | | 23-Nov-2023 | - | 3,609 | 2,666 |
| frontend/ | | 23-Nov-2023 | - | 43,713 | 33,773 |
| metadata/ | | 23-Nov-2023 | - | 17,107 | 16,701 |
| server/ | | 23-Nov-2023 | - | 383,019 | 306,060 |
| site_utils/ | | 23-Nov-2023 | - | 41,000 | 31,198 |
| test_suites/ | | 23-Nov-2023 | - | 9,233 | 7,240 |
| tko/ | | 23-Nov-2023 | - | 11,421 | 8,773 |
| utils/ | | 23-Nov-2023 | - | 6,026 | 4,422 |
| venv/ | | 23-Nov-2023 | - | 58 | 51 |
| .gitignore | D | 23-Nov-2023 | 1.4 KiB | 86 | 73 |
| .style.yapf | D | 23-Nov-2023 | 60 | 4 | 3 |
| CTS_OWNERS | D | 23-Nov-2023 | 107 | 7 | 5 |
| ENGPROD_OWNERS | D | 23-Nov-2023 | 782 | 38 | 34 |
| FINGERPRINT_OWNERS | D | 23-Nov-2023 | 182 | 9 | 7 |
| FIRMWARE_OWNERS | D | 23-Nov-2023 | 323 | 17 | 15 |
| INFRA_OWNERS | D | 23-Nov-2023 | 315 | 16 | 13 |
| LGPL_LICENSE | D | 23-Nov-2023 | 7.5 KiB | 166 | 128 |
| LICENSE | D | 23-Nov-2023 | 17.8 KiB | 348 | 285 |
| METADATA | D | 23-Nov-2023 | 43 | 4 | 3 |
| MODULE_LICENSE_LGPL | D | 23-Nov-2023 | 7.5 KiB | 166 | 128 |
| OWNERS.android | D | 23-Nov-2023 | 311 | 11 | 10 |
| PRESUBMIT.cfg | D | 23-Nov-2023 | 1.1 KiB | 24 | 20 |
| PRESUBMIT.py | D | 23-Nov-2023 | 890 | 26 | 12 |
| README.md | D | 23-Nov-2023 | 2.8 KiB | 71 | 46 |
| __init__.py | D | 23-Nov-2023 | 0 | 1 | 0 |
| common.py | D | 23-Nov-2023 | 308 | 9 | 8 |
| global_config.ini | D | 23-Nov-2023 | 18.1 KiB | 459 | 397 |
| main.star | D | 23-Nov-2023 | 439 | 14 | 2 |
| moblab_config.ini | D | 23-Nov-2023 | 1.9 KiB | 65 | 49 |
| ssp_deploy_config.json | D | 23-Nov-2023 | 590 | 27 | 26 |
README.md
1# Autotest: Automated integration testing for Android and Chrome OS Devices
2
3Autotest is a framework for fully automated testing. It was originally designed
4to test the Linux kernel, and expanded by the Chrome OS team to validate
5complete system images of Chrome OS 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 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
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