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-docs: Migrate test_wazuh_db documentation to schema 2.0 #1820

Closed
5 of 6 tasks
mdengra opened this issue Aug 31, 2021 · 2 comments · Fixed by #2346
Closed
5 of 6 tasks

qa-docs: Migrate test_wazuh_db documentation to schema 2.0 #1820

mdengra opened this issue Aug 31, 2021 · 2 comments · Fixed by #2346
Assignees
Labels

Comments

@mdengra
Copy link
Contributor

mdengra commented Aug 31, 2021

Description

This issue is created to migrate the test_wazuh_db documentation to the new QA Docs schema as part of the epic #1796.

In the QA Wiki there are two entries to help complete the tasks:

Main branch

1796-migrate-doc-schema-1

Tasks

  • Migrate tests:
    • test_wazuh_db
      • test_wazuh_db.py
  • Check PEP-8 style guide (pycodestyle --max-line-length=120)
  • Ckeck with QA-Doc style format
  • Merge issue branch to 1796-migrate-doc-schema-1
@mdengra mdengra added team/qa refactor Redesign and implement an existing development/feature labels Aug 31, 2021
@jmv74211 jmv74211 added feature/wazuh-db subteam/qa-thunder test/integration docs Add or improve documentation and removed refactor Redesign and implement an existing development/feature subteam/qa-docs labels Dec 1, 2021
@fedepacher fedepacher self-assigned this Dec 7, 2021
@fedepacher
Copy link
Contributor

fedepacher commented Dec 7, 2021

Studying how to create documentation of tests using Wazuh wiki repository.
After reading wiki documentation I start documenting the wazuh_db test.
I created a branch from the master with the name update-doc-fp.

Progress

Module block

  • Check if the brief is described as it should be

Test block

  • Commented test_wazuh_db_messages_agent test.
  • Commented test_wazuh_db_messages_global test.
  • Commented test_wazuh_db_chunks test.
  • Commented test_wazuh_db_range_checksum test.

@fedepacher
Copy link
Contributor

fedepacher commented Dec 14, 2021

  • Style guide (pycodestyle --max-line-length=120) (PASSED)

QA-docs execution

qa-docs --tests-path /home/fede/Wazuh/Repo/issue/1820/wazuh-qa/tests/ --types integration --modules test_wazuh_db

Results

2021-12-14 10:29:10,179 - INFO - Parsing the following test(s) type(s): ['integration'] 2021-12-14 10:29:10,179 - INFO - Parsing the following test(s) modules(s): ['test_wazuh_db'] 2021-12-14 10:29:10,193 - INFO - Running QADOCS 2021-12-14 10:29:10,781 - INFO - Run completed, documentation location: /tmp/qa_docs/output

Output File

test_wazuh_db output results

@roronoasins roronoasins changed the title QA Docs: Migrate test_wazuh_db documentation to schema 1.0 qa-docs: Migrate test_wazuh_db documentation to schema 2.0 Dec 15, 2021
@roronoasins roronoasins linked a pull request Dec 16, 2021 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants