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

Integrate Unit Tests into Workflow #9

Open
le91688 opened this issue Jun 21, 2023 · 0 comments
Open

Integrate Unit Tests into Workflow #9

le91688 opened this issue Jun 21, 2023 · 0 comments
Labels
CI/CD Workflow / Pipelines enhancement New feature or request

Comments

@le91688
Copy link
Contributor

le91688 commented Jun 21, 2023

Title: Integrate Unit Tests into Workflow

Description:

In order to ensure code reliability and avoid regressions in the functionality of our Python scripts, we need to add unit tests. These tests will help us automatically verify that individual units of source code (e.g., functions, methods) are working as expected.

Once these unit tests are created, they need to be integrated into our continuous integration (CI) workflow. This will allow us to automatically run these tests whenever code is pushed to the repository, ensuring that all changes are tested before they are merged into the main code base.

Tasks:

  1. Identify key areas of the Python code that require unit testing.
  2. Write unit tests for these areas using a suitable Python testing framework (e.g., unittest, pytest).
  3. Validate these unit tests locally to ensure they're working as expected.
  4. Integrate these unit tests into the CI workflow.
  5. Test the CI workflow to ensure that it correctly runs the unit tests on code push.

Acceptance Criteria:

  • Unit tests are written for the identified areas of the Python code.
  • These tests correctly validate the functionality of the code.
  • The tests are integrated into the CI workflow.
  • The workflow correctly runs the tests whenever code is pushed to the repository.

Estimated Effort: (You may want to estimate the effort required in terms of hours/days)

@le91688 le91688 changed the title Unit Tests Integrate Unit Tests into Workflow Jun 27, 2023
@le91688 le91688 added enhancement New feature or request CI/CD Workflow / Pipelines labels Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD Workflow / Pipelines enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant