Ben Greear 55d9e99978 pytest: Start integrating with existing libraries.
This is going to take more work, but getting somewhat closer.

Stop using pytest/helpers, they are replaced by libraries.

Existing libraries are often taking a command-line-args option
as easy way to pass something to various methods.  This will
have to be resolved to work with the way pytest wants to
run.

Much hard-coding needs to be removed, and specifically,
the 'set profile' logic is completley  not working.

Need to use library logic that can query the eq-id based
on name (and query eq-name based on serial port/ssh, perhaps).

Need to resolve how cmd-line can take multiple APs, but
each will have different eq-id.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-02-11 13:18:38 -08:00
2021-01-31 17:39:04 +03:00
2021-01-27 13:19:27 -08:00
2021-01-14 19:49:30 +03:00
2020-04-23 11:13:40 -07:00
2021-01-20 16:17:57 +03:00
2020-07-06 10:38:51 -04:00
2021-02-02 12:51:42 -05:00
2021-02-09 21:06:52 +05:30

TIP Open WiFi Testing

This repository contains the test automation framework and scripts for TIP Open WiFi.

Motivation

Automate Automate and Automate!

Build status

WIP
[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.
made-with-python
PEP8

Proposed Directory Structure

├── tests
├── libs
│   ├── cloudsdk
│   ├── apnos
│   ├── lanforge
│   ├── perfecto
│   ├── <future>
├── tools
├── docker
├── pytest          - /* to be migrated */
├── CICD_AP_CLOUSDK - /* to be migrated */
├── cicd            - /* to be migrated */
├── lanforge        - /* under cleanup consideration */
├── testbeds        - /* under cleanup consideration */
├── unit_tests      - /* to be migrated */

TO DO

  • Pytest proof of concept
  • Pytest documentation
  • Dockerized test framework PoC
  • Github nightly trigger - PoC
  • Deprecate uni_tests script and move methods into pytest Directory
  • Move Java Selenium to python/Selenium
  • Deprecate cicd scripts and move to Pytest
  • lanforge needs to be ingested as python module
  • testbeds cleanup based on Lab Orchestration
Description
No description provided
Readme BSD-3-Clause 228 MiB
Languages
Python 99%
Shell 0.6%
Roff 0.4%