Skip to content

FortiShield/qa-integration-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

qa-integration-framework

FortiShield QA framework for integration tests

Installation

  1. Clone the framework's repo: git clone https://github.com/fortishield/qa-integration-framework.git
  2. Install python deps: apt-get install python3 python3-dev python3-pip -y
  3. Install the framework: pip install qa-integration-framework/

    It will also install all the dependencies from the requirements.txt automatically.

Usage

You can just import it from the test suite as any other python library

from fortishield_testing.constants.paths.logs import FORTISHIELD_LOG_PATH
from fortishield_testing.modules.analysisd import patterns
from fortishield_testing.tools.monitors.file_monitor import FileMonitor
from fortishield_testing.utils import callbacks


monitor = FileMonitor(FORTISHIELD_LOG_PATH)
monitor.start(callback=callbacks.generate_callback(patterns.ANALYSISD_STARTED))

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages