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

DTT1 - Iteration 3 - Unit test - Unit tests for the Provision module #4994

Closed
3 tasks done
Tracked by #4993
fcaffieri opened this issue Feb 21, 2024 · 8 comments · Fixed by #5150
Closed
3 tasks done
Tracked by #4993

DTT1 - Iteration 3 - Unit test - Unit tests for the Provision module #4994

fcaffieri opened this issue Feb 21, 2024 · 8 comments · Fixed by #5150
Assignees

Comments

@fcaffieri
Copy link
Member

fcaffieri commented Feb 21, 2024

Epic: #4993


Description

The objective of this issue is to generate automatic unit tests for the Provision module.

Tasks

  • Generate use cases
  • Validate generated use cases
  • Automate with GH actions
@mhamra
Copy link
Contributor

mhamra commented Mar 19, 2024

UPDATE

  • I was reading the source code generated for the allocation, provisioning, and testing modules.

@mhamra mhamra self-assigned this Mar 19, 2024
@wazuhci wazuhci moved this from Backlog to In progress in Release 4.9.0 Mar 19, 2024
@rauldpm rauldpm added level/task Task issue and removed level/subtask Subtask issue labels Mar 20, 2024
@mhamra
Copy link
Contributor

mhamra commented Mar 20, 2024

UPDATE

I've started developing the unit tests. I've almost finished the UTs for the Action class.

@mhamra
Copy link
Contributor

mhamra commented Mar 21, 2024

UPDATE

I've finished the UTs:

  • test_actions.py
  • test_component_type.py
  • test_provision.py: started

@mhamra
Copy link
Contributor

mhamra commented Mar 22, 2024

UPDATE

I've finished the UTs:

  • provison_mock Fixture.
  • test_provision_constructor.
  • test_provision_run.
  • test_provision_run_fail.

@mhamra
Copy link
Contributor

mhamra commented Mar 25, 2024

UPDATE

I've finished these UTs:

  • test_provision
  • test_model

@mhamra mhamra linked a pull request Mar 25, 2024 that will close this issue
@wazuhci wazuhci moved this from In progress to Pending review in Release 4.9.0 Apr 5, 2024
@wazuhci wazuhci moved this from Pending review to In progress in Release 4.9.0 Apr 5, 2024
@mhamra mhamra moved this from In progress to Pending review in Release 4.9.0 Apr 5, 2024
@mhamra mhamra moved this from Pending review to In progress in Release 4.9.0 Apr 5, 2024
@wazuhci wazuhci moved this from In progress to Pending review in Release 4.9.0 Apr 5, 2024
@wazuhci wazuhci moved this from Pending review to In review in Release 4.9.0 Apr 5, 2024
@wazuhci wazuhci moved this from In review to On hold in Release 4.9.0 Apr 5, 2024
@wazuhci wazuhci moved this from On hold to Pending review in Release 4.9.0 Apr 5, 2024
@rauldpm
Copy link
Member

rauldpm commented Apr 8, 2024

Moved the ETA to 2024/04/09, PR changes applied and must be reviewed again

@rauldpm
Copy link
Member

rauldpm commented Apr 8, 2024

LGTM

= 51 passed, 3 warnings in 0.10s =

@wazuhci wazuhci moved this from Pending review to Pending final review in Release 4.9.0 Apr 8, 2024
@fcaffieri
Copy link
Member Author

LGTM

@wazuhci wazuhci moved this from Pending final review to Done in Release 4.9.0 Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants