Avocado Logo

Avocado

Report a bug Mailing list GitHub
Avocado-framework logo

Avocado-Framework

About

Avocado is a framework with a set of tools and libraries to help with automated testing. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.

Whether you want to automate the test plan made by your development team, do continuous integration, or develop quick tests for the feature you’re working on, Avocado delivers the tools to help you out.

Please, read our quick guide to get an idea of what avocado can do. If you want to go further, check out our installation instructions and take a look at the full documentation at readthedocs!

You are welcome to reach us on our mailing list. In case of issues, please report a bug in GitHub.

Avocado Framework Installation

Avocado’s quick guide

Running avocado from the command line

The fastest way of running avocado is from the command line to run a test. This test can be a binary or script:

Writing a Avocado Python test

To write basic Avocado tests in Python, the test class should inherit from the avocado test.

This kind of test is also known as an instrumented test in Avocado.

The following is a basic Avocado test written in Python.

Copy and paste it to a file named basic.py

The file contains one single test. To run it execute: