Navigation

  • index
  • modules |
  • next |
  • previous |
  • Autopilot 1.4.1+15.10.20150911-0 documentation »

Autopilot TutorialΒΆ

This tutorial will guide users new to Autopilot through creating a minimal autopilot test.

  • What is Autopilot, and what can it do?
  • Where is Autopilot used?
  • How does Autopilot fit with other test frameworks?
  • What do Autopilot Tests Contain?
  • Writing Your First Test
    • Files and Directories
      • A Minimal Test Case
    • The Setup Phase
      • Starting the Application
    • A Simple Test
      • Running Autopilot
    • A Test with Interaction
    • The Eventually Matcher
  • Advanced Autopilot Features
    • Cleaning Up
    • Test Scenarios
    • Test Logging
    • Environment Patching
    • Custom Assertions
    • Platform Selection
    • Gestures and Multitouch
    • Advanced Backend Picking
      • Default Creation
      • Picking a Backend
      • Possible Errors when Creating Backends
    • Keyboard Backends
      • A quick introduction to the Keyboard backends
      • Limitations of the different Keyboard backends
    • Process Control
    • Display Information
    • Writing Custom Proxy Classes
  • Writing Good Autopilot Tests
    • Write Expressive Tests
    • Test One Thing Only
    • Fail Well
    • Test Length
    • Good docstrings
    • Test Readability
    • Prefer wait_for and Eventually to sleep
      • In Tests
      • In Proxy Classes
    • Scenarios
      • Multiplying Scenarios
    • Do Not Depend on Object Ordering
  • Running Autopilot
    • List Tests
    • Run Tests
      • Common use cases
    • Visualise Introspection Tree

Logo

Quick search

Enter search terms or a module, class or function name.

Previous topic

Autopilot Documentation Front Page

Next topic

What is Autopilot, and what can it do?

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Autopilot 1.4.1+15.10.20150911-0 documentation »
Learn how you can contribute! / File a bug
© Copyright 2012-2013, Canonical.