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

Implement Automated Testing in the Project #31

Open
renan-siqueira opened this issue Oct 16, 2023 · 0 comments
Open

Implement Automated Testing in the Project #31

renan-siqueira opened this issue Oct 16, 2023 · 0 comments
Labels
code quality It refers to improving maintainability, readability, and adherence to coding standards. enhancement New feature or request good first issue Good for newcomers

Comments

@renan-siqueira
Copy link
Owner

Objective:

To ensure the integrity, reliability, and quality of our code, it's essential to implement automated testing. This task involves setting up a testing framework and creating initial tests for the existing functionalities.

Tasks:

1. Framework Selection:

  • Evaluate and select an appropriate testing framework for the project (e.g., pytest, unittest, etc.).
  • Install necessary dependencies and set up the environment for test execution.

2. Initial Setup:

  • Set up a dedicated directory for tests (e.g., /tests).
  • Create templates or base files for future tests.

3. Test Writing:

  • Identify the main modules and functionalities that require test coverage.
  • Start by writing tests for critical or high-risk functionalities.
  • As tests are written, run them frequently to ensure they work as expected.

4. Continuous Integration:

  • Integrate test execution into the CI/CD pipeline, ensuring that tests run on all new -commits or pull requests.

Notes:

  • Remember to follow best practices for testing, such as keeping tests atomic, independent, and clear.
  • Keep the team informed about testing practices, considering hosting a brief training or review session to align all involved.
  • Consider using code coverage tools, like coverage.py, to monitor the extent of test coverage.
@renan-siqueira renan-siqueira added enhancement New feature or request good first issue Good for newcomers code quality It refers to improving maintainability, readability, and adherence to coding standards. labels Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality It refers to improving maintainability, readability, and adherence to coding standards. enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant