Test automation framework
Project description
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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file scalehub-1.0.0b1.tar.gz.
File metadata
- Download URL: scalehub-1.0.0b1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4f761a5a247a0e129d7c7e1f2eed768bee760c4cd1913e8dc12db5564cda6ab
|
|
| MD5 |
4c0b98978cb5cc4ecfced798dbeca050
|
|
| BLAKE2b-256 |
929be3bd4588ba75bfe5a96e6931e087be7ec799e1e7ff1a1e0d7cee6fbf738d
|