Skip to main content

Autotest test framework

Project description

Autotest is a framework for fully automated testing. It is designed primarily to test the Linux kernel, though it is useful for many other functions such as qualifying new hardware. It’s an open-source project under the GPL and is used and developed by a number of organizations, including Google, IBM, Red Hat, and many others.

Autotest is composed of a number of modules that will help you to do stand alone tests or setup a fully automated test grid, depending on what you are up to. A non extensive list of modules is:

  • Autotest client: The engine that executes the tests (dir client). Each autotest test is a a directory inside (client/tests) and it is represented by a python class that implements a minimum number of methods. The client is what you need if you are a single developer trying out autotest and executing some tests. Autotest client executes ‘’client side control files’’, which are regular python programs, and leverage the API of the client.

  • Autotest server: A program that copies the client to remote machines and controls their execution. Autotest server executes ‘’server side control files’’, which are also regular python programs, but leverage a higher level API, since the autotest server can control test execution in multiple machines. If you want to perform tests slightly more complex involving more than one machine you might want the autotest server

  • Autotest database: For test grids, we need a way to store test results, and that is the purpose of the database component. This DB is used by the autotest scheduler and the frontends to store and visualize test results.

  • Autotest scheduler: For test grids, we need an utility that can schedule and trigger job execution in test machines, the autotest scheduler is that utility.

  • Autotest web frontend: For test grids, A web app, whose backend is written in django (http://www.djangoproject.com/) and UI written in gwt (http://code.google.com/webtoolkit/), lets users to trigger jobs and visualize test results

  • Autotest command line interface: Alternatively, users also can use the autotest CLI, written in python

Getting started with autotest client

For the impatient:

https://github.com/autotest/autotest/wiki/ClientQuickStart

Main project page

http://autotest.github.com/

Main project documentation source

You can find plenty of information on the autotest wiki

http://github.com/autotest/autotest/wiki

Mailing list and IRC info

https://github.com/autotest/autotest/wiki/ContactInfo

Grabbing the latest source

https://github.com/autotest/autotest

Hacking and submitting patches

https://github.com/autotest/autotest/wiki/SubmissionChecklist

Downloading stable versions

https://github.com/autotest/autotest/downloads

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autotest-0.16.2.tar.gz (4.4 MB view details)

Uploaded Source

File details

Details for the file autotest-0.16.2.tar.gz.

File metadata

  • Download URL: autotest-0.16.2.tar.gz
  • Upload date:
  • Size: 4.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for autotest-0.16.2.tar.gz
Algorithm Hash digest
SHA256 1729e208b9be693a1f5561a3fa585c6c915a65ff80222a4addda8c745d60bac1
MD5 09f45cd39604cebf09db64f12ccbec0e
BLAKE2b-256 d97f678d25a1d97f3e0ff29b003b6743f76fbb5af358383b241fa6e42fb69c1e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page