Chromium OS‎ > ‎

Testing Home

This is the home page for testing.  You should find everything related to running tests, modifying existing tests and running tests here.  Please feel free to send an email to chromium-os-dev@chromium.org if you have any questions.

Unit Tests

We run unit tests using the Portage test FEATURE. For instructions on how to run and add your own unit tests, follow these instructions.

Testing Workflows

Here's a description of some common developer workflows

When iterating on a test, you might save some time by using the autotest_quickmerge tool.

If you used to use run_remote_tests to run local Autotest tests, you should try switching to its replacement, test_that.

Testing Components

These documents discuss test cases and (eventually) test suites.

Autotest

Autotest User Doc describes the integration of autotest into the build system, along with FAQ and specific descriptions of various tasks.

This has additional info on how to run the smoke test suite on a Virtual Machine.

Before you check in a change, you should also do a trybot run locally, which will run unit tests and smoke tests in the same way that the buildbots do.

Codelabs

Writing Tests & Suites

MobLab

MobLab is a self-contained automated test environment running on a Chromebox.

Design Docs