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

Write backend tests for tasks #15

Open
d4vidsha opened this issue Jun 30, 2024 · 2 comments
Open

Write backend tests for tasks #15

d4vidsha opened this issue Jun 30, 2024 · 2 comments
Labels
good first issue Good for newcomers python Pull requests that update Python code

Comments

@d4vidsha
Copy link
Owner

d4vidsha commented Jun 30, 2024

Currently the CI is at code coverage 91% as of writing. We can increase the testing code coverage by writing tests for the backend route /tasks. Since the current implementation of the tasks route is very similar to the items route (see Swagger docs items and tasks), and since items already has the required tests, it suffices to use backend/app/tests/api/routes/test_items.py as a reference to write up a new file called test_tasks.py which will handle all the tests for the tasks route.

@d4vidsha d4vidsha moved this to Backlog in Scheduler development Jul 13, 2024
@d4vidsha d4vidsha added enhancement New feature or request good first issue Good for newcomers and removed enhancement New feature or request labels Jul 27, 2024
@SureshPradhana
Copy link
Contributor

Hi @d4vidsha,

I’d like to work on this. Can you let me know which testing libraries are used and provide some context on the tasks? I’ll handle the rest.

@d4vidsha
Copy link
Owner Author

d4vidsha commented Aug 4, 2024

Hey @SureshPradhana, I have now provided a description for this issue, let me know if you need anything else and thank you for picking this one up! I'll be writing more descriptive issues from now on also since we now have more eyes on this project 👍

@d4vidsha d4vidsha added the python Pull requests that update Python code label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers python Pull requests that update Python code
Projects
Status: Backlog
Development

No branches or pull requests

2 participants