Skip to main content

A(nother) test automation framework for network device.

Project description

blooming
===============================

version number: 1.0.8
author: Luxebeng

Overview
--------

`blooming` Framework is a generic open source test automation framework for acceptance test-driven development (ATDD). which is operating system and application independent. The core framework is implemented using Python 3.

Project is hosted on [GitHub](https://github.com/luxebeng/blooming) where you can find source code, an issue tracker, and some further documentation.

Installation
------------

To install use pip:

$ pip install blooming


Or clone the repo:

$ git clone https://github.com/luxebeng/blooming.git
$ python setup.py install

How does it work
----------------

The test suites is component with series independent module, and all of them can be executed in sequence.

For each test case, device and configuration file are abstracted as an object. which is defined as a .json file, and all the operation is defined as member function of an object.

For different there are command lists on devices from different vendor, so there is a SAL layer to adapt the commands for different in future. but now it's called directly.

The simple sketch is as follows:
![SW_architecture](docs/media/SW_architecture.png)

Example
-------

at the root folder, there is 2 json files are provided.

`dev.json:` which define the device information. which is static for a special devices.
```
***device information***
{
"bj340g":{
"device name": "srx340g", # device name
"MGT IP address": "10.208.128.161", # login IP address
"port number": 22, # ssh login portID
"ssh user": "root", # ssh login user
"passwd": "Embe1mpls" # ssh login passwd
}
}
```

`xxxx_conf.json`: which is config related information. which is depended on the topology of testbed and configuration.
```
{
"bj340g":{
"l2 port":{
"ge-0/0/5":{
"peer":{
"dev":"bj300a",
"port":"ge-0/0/5"
}
}
},
"l3 intf":{
"irb.20":{
"ip addr":"20.0.0.20"
}
}
}
}
```

There is a detail document about L2NG test suites. please refer to documents of [L2NG Test suites](./docs/l2ng_test_sutes.md).

Contributing
------------

TBD


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

blooming-1.0.8.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

blooming-1.0.8-py2.py3-none-any.whl (9.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file blooming-1.0.8.tar.gz.

File metadata

  • Download URL: blooming-1.0.8.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for blooming-1.0.8.tar.gz
Algorithm Hash digest
SHA256 80e06eaedb14586e17c0cfa13c3a45cde1ef4fdd5c9b5f9505334d94f0d6d86c
MD5 78633d197903296bb920d7ec118cbcbe
BLAKE2b-256 5a4195d2d98d3a179888da29232650b45c142684bc39f655d487342ccee4c415

See more details on using hashes here.

File details

Details for the file blooming-1.0.8-py2.py3-none-any.whl.

File metadata

  • Download URL: blooming-1.0.8-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for blooming-1.0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 eca02c9d6ca6410504d5067b0ca14b7133dadb172cda272bfb70f321de653f62
MD5 214f6f44c2f6a8717963857e5b05350a
BLAKE2b-256 5fa61ffc32ddeaa53c75a672c42ab747e088950fbadc1d4a57f69f733b276b06

See more details on using hashes here.

Supported by

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