Skip to main content

Test automation framework

Project description

https://travis-ci.org/pyscale/scalehub.svg?branch=master

Usage

import time
from scalehub.hub import ScaleHub

config = {
  'workers': [
      {
          'id': 'worker01',
          'driver_class': ClassName,
          'driver_config': {
              'any_attribute': 'any_value'
          }
      },
  ],
}

hub = ScaleHub(config)
hub.go()

while not hub.is_test_completed():
  print hub.collect_results()
  time.sleep(1)

Where config must contain workers array. Each worker config must contain the next attributes:

  • id - worker unique identifier
  • driver - worker driver class full path

Into driver_config attribute you may put any configuration your worker need.

Method go() just calls init_workers() and then start_test(). You can call these methods manually.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
scalehub-1.0.0b1.tar.gz (2.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page