blahosyl / spicy

Recipes for neurospicy people and those who care for them. Utilitarian, customizable and to the point. | CodeInstitute Portfolio Project 4
https://spicy-recipes-django-5d174ffc7c94.herokuapp.com/
1 stars 0 forks source link

USER STORY: Automated testing #107

Open blahosyl opened 5 months ago

blahosyl commented 5 months ago

As a Developer,

I want to write automated tests for forms and views,

so that I can make sure the code works as intended

Acceptance Criteria

  1. All custom views and forms in the project have automated tests
  2. All tests pass, any exceptions are well-documented and reasoned

Tasks

collection/views

collection/forms

collection/views

blahosyl commented 4 months ago

Tutor Roo helped me correct collection/test_views/test_successful_comment_editing(). I re-wrote test_unsuccessful_comment_editing, test_successful_comment_deletion and test_unsuccessful_comment_deletion based on that, and all tests are working correctly now.

blahosyl commented 4 months ago

All tests are passing correctly, but test coverage is not complete. Additional tests are relegated to version 2.