wazuh / wazuh-qa

Wazuh - Quality Assurance
GNU General Public License v2.0
64 stars 30 forks source link

Review the qa-system-framework repository for relevant code to migrate #5535

Closed QU3B1M closed 2 months ago

QU3B1M commented 3 months ago
Main issue
https://github.com/wazuh/wazuh-qa/issues/5527

Description

Analyze the content of the repository qa-system-framework, detect and document the code pertinent to migrate to the new QA repository.

Tasks

[!Important] This repository doesn't have new activity since September 2023

Tasks conclusion

Review the qa-system-framework repository

This repository contains a proposed framework for the QA system tests, which development was stopped since September 2023. It has an interesting design, and it could be a good starting point for the development of a new QA framework.

Identify relevant code for migration to the new QA repository

As mentioned previously, the design of this repository is interesting. Still, the code is outdated and some of it was taken and improved on the qa-integration-framework by the Core team. So, we can mostly only take the 'ideas' for the design and some parts of the code from this repository.

Document a proposal for migration with a possible directory structure

Code

Considering that most of this repository's code is in 'Work in Progress' status, we can highlight some of it that could be migrated to the new QA repository, in some cases, after some improvements. The relevant code is the following:

File structure

This could be the most relevant feature of this repository; it is well structured, and I think we could use it as inspiration for our new QA repository. Something like:

./
├── README.md
├── wazuh_qa_framework/
│   ├── __init__.py
│   ├── requirements.txt
│   ├── setup.py
│   ├── generic/
│   ├── constants/
│   ├── utils/
│   └── wazuh/
└── tests
    ├── __init__.py
    ├── generic/
    ├── constants/
    ├── utils/
    └── wazuh/
QU3B1M commented 3 months ago

QA System Framework

This repository contains a proposed framework for the QA system tests, which development was stopped since September 2023. It has an interesting design, and it is a good starting point for the development of a new QA framework.

What to migrate from this repository?

As mentioned previously, the design of this repository is interesting, and it is a good starting point for the development of a new QA framework, anyway the code is outdated and some if it was taken for the qa-integration-framework and improved by the Core team.

Code

Parts of the code that could be taken from this repository to the new QA framework are:

File strcuture

The file structure of this repository is interesting and could be taken as a base for the new QA framework. Using this structure as base I could propose something like this:

./
├── README.md
├── wazuh_qa_framework/
│   ├── __init__.py
│   ├── requirements.txt
│   ├── setup.py
│   ├── generic/
│   ├── constants/
│   ├── utils/
│   └── wazuh/
└── tests
    ├── __init__.py
    ├── generic/
    ├── constants/
    ├── utils/
    └── wazuh/
damarisg commented 2 months ago

Review

We decided to use part of the structure and some folders, but we will improve the files before migration.

The proposed proposal will remain in the issue of definition.