mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-10-29 10:02:26 +00:00
2.8 KiB
2.8 KiB
TIP Open WiFi Testing
This repository contains the test automation framework and scripts for TIP Open WiFi.
Cloud Controller build
You can provision additional cloud controllers for your tests using update cloud controllers build. To add additional cloud controller add another json object to the testbeds variable at line 19, where
- number == NOLA testbed number this cloud controller is assigned to
- version == docker images version to use with this particular deployment. supports 3 options:
- "latest" - will use
0.0.1-SNAPSHOTimages - "" - will use
0.0.1-SNAPSHOT-yyyy-mm-ddimages from yesterdays date - "yyyy-mm-dd" - will use
0.0.1-SNAPHOST-yyyy-mm-ddwith the date provided (if they are available, if not build will fail).
Motivation
Automate Automate and Automate!
Build status
Best Practice
This project is built using python 3 and strongly recommends using virtualenv to ensure that your dev environment sandbox is created.
Code style
All code must be written in python 3 and conform to PEP 8 style guide. The test framework is built using pytest.
Pytest Directory Structure
├── lanforge - /* to be migrated */
├── libs
│ ├── controller -/* Library Support for controller part */
│ ├── apnos -/* Library Support for Access Points (uses AP SSH) */
│ ├── lanforge
│ ├── perfecto -/* Library Support for Perfecto Traffic Generator*/
│ ├── testrails -/* Result Visualization (will be depreciated )*/
├── tests - /* Pytest cases Directory */
│ ├── _basic_test_setup
│ ├── access_point
│ ├── controller
│ ├── e2e
├── advanced
├── basic
├── interOp
├── mdu
|── mesh
|── scale
|── README.md - /* Pytest framework and setup instructions */
BASIC SETUP
wlan-testing requires a sync with wlan-lanforge-scripts So we have sync_repos.bash, that can do that
git clone https://github.com/Telecominfraproject/wlan-lanforge-scripts
Make sure this structure exists
├── wlan-lanforge-scripts
├── wlan-testing
./sync_repos.bash
TO DO
- Pytest documentation
- Dockerized test framework PoC
- Github nightly trigger - PoC
- lanforge needs to be ingested as python module
- testbeds cleanup based on Lab Orchestration