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.

Source Distribution

scalehub-1.0.0b1.tar.gz (2.7 kB view hashes)

Uploaded Source

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