Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qa-ctl: Launch tests without specifying a configuration file. Self-contained information in the tests #1892

Merged
merged 142 commits into from
Sep 15, 2021

Conversation

jmv74211
Copy link
Contributor

@jmv74211 jmv74211 commented Sep 14, 2021

Related issue
close #1803

Description

This PR adds the qa-ctl tool to the wazuh-qa repository, in addition to the set of libraries used for its development in the qa framework.

Important note: For now, qa-ctl tool is only available for Linux systems.

  • Here you can find the related qa-ctl documentation and use guide.
  • Here you can find the qa-ctl installation guide

Checks

Check installation process

  • Installing the qa-ctl tool on Ubuntu and CentOS systems.
  • Installing all required libraries from requirements.txt.

Check automated qactl executions

  • Run test_general_settings_enabled.
  • Run test_execd_restart.
  • Run test_cors.
  • Run test_cache.
  • Run test_execd_firewall_drop.

Check automated qactl entry parameters

  • Run --dry-run execution for test_cors.
  • Run with invalid -v,--version parameter.
  • Run with modified documentation (unsupported os_platform).
  • Run with modified documentation: not suported Linux lowercase error.
  • Run with deployment in centos for test_general_settings_enabled.
  • Run with deployment in linux for test_general_settings_enabled.
  • Run with --persistent argument.

Check qactl with yaml file

  • Provisioning module with local_package parameter.
  • Provisioning module with s3_url_package parameter.
  • Check validation process by entering invalid parameter in different fields.

palaciosjeremias and others added 30 commits July 16, 2021 12:10
Implement the DocGenerator main module and test search
Implement a sanity check module for DocGenerator
Implement Mandatory and Optional fields functionality
jmv74211 and others added 20 commits September 10, 2021 10:47
Needed to launch the integration tests, as they are launched as root.
The following tests have been updated:
  * test_execd_firewall_drop.py
  * test_execd_restart.py
  * test_cors.py
  * test_general_settings_enabled.py
The current scheme of the issue #1694 has been used.
PEP-8 fixes.
The following tests have been updated:
  * test_cache.py
The current scheme of the issue #1694 has been used.
PEP-8 fixes.
@jmv74211 jmv74211 requested a review from snaow September 14, 2021 14:55
@jmv74211 jmv74211 self-assigned this Sep 14, 2021
@jmv74211 jmv74211 changed the title Add qa-ctl tool v0.0.1 Add qa-ctl tool v0.1 Sep 14, 2021
@jmv74211 jmv74211 requested review from fernandolojano and removed request for snaow September 15, 2021 09:41
@jmv74211 jmv74211 changed the base branch from master to 1533-qa-ctl September 15, 2021 09:42
@jmv74211 jmv74211 changed the title Add qa-ctl tool v0.1 qa-ctl: Launch tests without specifying a configuration file. Self-contained information in the tests Sep 15, 2021
@jmv74211 jmv74211 merged commit 00f787e into 1533-qa-ctl Sep 15, 2021
@jmv74211 jmv74211 deleted the 1803-development branch September 15, 2021 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QACTL launch tests without specifying a configuration file. Self-contained information in the tests
9 participants