Skip to main content

Automation Kit Test Framework

Project description

Automation Kit Repository

Welcome to the Automation Kit repository!

Note: This package is progressing quickly but is not yet ready for full production environments.

Description

The Automation Kit is a python toolkit for building distributed automated task and testing systems. It goes beyond the capabilities of other task and test automation frameworks by providing a hybrid approach that allows for dependency injection, similar to pytest, combined with and object oriented framework that can be utilized to easily customize the orchestration of tasks and tests across a collection of integrated resources. Because the Automation Kit is built from the start with distributed automation in mind, it can help you quickly get distributed automated systems up and running that are based on a tested and proven set of object patterns and APIs.

Design Philosophies

This section covers some of the important design features of the Automation Kit framework.

Large Scale

The Automation Kit is designed for enterprise level distributed automation "at scale". The term "at scale" refers not only to a larger collection of enterprise resources but also refers to the fact that the Automation Kit helps to setup patterns that will support working in a very large code base. The size of a code base that you might see associated with large enterprise level projects. The Automation Kit supports working in large code bases by helping to establish good code organizational patterns and abstractions that support characteristics that:

  • make it easier to learn and work in the code base
  • make the code base easier to maintain
  • make it easier to share and reuse code

Faster Classification of Issues

One of the key philosophies behind the Automation Kit design is one of being able quickly and efficiently identify the nature of issues that come up during automation runs. The Automation Kit initially classifies errors into one of four categories:

  • Configuration - We identify configuration issues quickly and classify them so as to ensure that resources are not waisted troubleshooting configuration related issues and that eronious test results or noise is not generated due to configuration related issues. We also want automation runs to fail out quickly if the automation configuration is not setup correctly, before waisting additional testing resources.
  • Environment - The Automation Kit performs an initial diagnostic scan of the automation landscape and all the resources declared to be necessary to run a series of tasks or tests in order to provide indications of environmental failures as early as possible. This is important to ensure that we do not generate noise in automation results that are not related to the automation tasks or tests that might fail. Just as with configuration, we want automation runs to fail out quickly if the automation environment is not setup correctly.
  • Error - The Automation Kit classifies un-expected errors, or errors that are not founded in an expectation of a result, as an Error condition. This helps to ensure these errors are given an appropriate initial direction or indication that the issues is a problem in the automation code and not an issue in the code that is the target of the automation run.
  • Failure - The AutomationKit classifies failures that are associated with an expectation of behavior from a target under test as failures. This allows for the proper initial classification of an issue as being a problem that is likely a failure in the code being targeted by the automation and the behavior or result it should have exhibited.

Having the initial classification of issues fall into one of these four categories helps to ensure that issues are easier to triage and assign to the appropriate party for investigation and resolution. It also helps to establish categories that can be used for data collection in order to better analyse the performance of test infrastructure, test code and product code.

Integration and Distributed Automation Support

The Automation Kit comes with enterprise level integration and distributed automation capabilities. The framework utilizes a customize-able set of classes that guides enterprise users through a process of creating a very robust integration object model based on the roles that enterprise resources play in an automation landscape.

The declaration of a custom automation landscape is as simple as setting an environment variable or passing a command line flag declaring the python module that contains a custom landscape derived class. The Landscape and LandscapeDescription derived classes work together to provide the Automation Kit with a description of the customized roles and integration mixin(s) that provide the connection between the tasks and test automation code.

Task and Test Integration Declaration and Assurance

The Automation Kit utilizes its object model to allow tasks and tests to provide information about their associated integration points and scopes of execution to the automation framework. This integration declaration mechanism allows the automation framework to provide an early scan of the integration pathways and provide levels of assurance as to the stability of the automation landscape early in the automation process. This is vitally important as it eliminates the waist and noise that are often associated with automation runs that are performed against an automation Landscape that has broken, mis-configured or missing resources.

Automation Job, Scope and Flow Control

The Automation Kit allows enterprise users to organize and customize the ordering of automation scope engagements and the flow of an automation job. This provides the automation engineer the ability to control the engagement of automation scopes of execution and allows for optimal use of time and overlapping of scopes of execution in a test run.

Table of Contents

  1. Automation Software Stack
  2. Getting Started
  3. Automation Configuration
    1. Landscape File
    2. Topology File
    3. Runtime File
    4. Credentials File
  4. TestRun Sequencing
    1. Integration Couplings
    2. Scope Couplings
  5. Functional Description
    1. Activation and Startup
    2. Inter-Operability
    3. SSH Coordinator and Agent
    4. UPNP Coordinator and Agent
  6. Workflow Orchestration
  7. Enterprise Extensibility
  8. Command Line
  9. Code Organization and Conventions
  10. Coding Standards

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

automationkit-0.3.32.tar.gz (408.3 kB view details)

Uploaded Source

Built Distribution

automationkit-0.3.32-py3-none-any.whl (731.8 kB view details)

Uploaded Python 3

File details

Details for the file automationkit-0.3.32.tar.gz.

File metadata

  • Download URL: automationkit-0.3.32.tar.gz
  • Upload date:
  • Size: 408.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.6 Linux/5.15.0-58-generic

File hashes

Hashes for automationkit-0.3.32.tar.gz
Algorithm Hash digest
SHA256 f817283520030a364a82010de9feca7428e7d104b8655896fe8b7c3a4b4d8979
MD5 4f29d405bd9fc8154b46b6d924a38779
BLAKE2b-256 bb152451b56b6f00f032389b9d2c752c6ee43e78b5cff3cc63f8034c9de6466d

See more details on using hashes here.

File details

Details for the file automationkit-0.3.32-py3-none-any.whl.

File metadata

  • Download URL: automationkit-0.3.32-py3-none-any.whl
  • Upload date:
  • Size: 731.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.6 Linux/5.15.0-58-generic

File hashes

Hashes for automationkit-0.3.32-py3-none-any.whl
Algorithm Hash digest
SHA256 b20e1a6d68446f9477216edaa3185678c5e313c7732a62a0073ad85765d15749
MD5 aa650b3c0ecbb383d4f2b010202c3f18
BLAKE2b-256 70a15aae3e6c186ffbf8442c44a147ed18140e15e5532bb0bbb9eba1fc4c6d2c

See more details on using hashes here.

Supported by

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