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/
0 stars 0 forks source link

USER STORY: Automated testing #107

Open blahosyl opened 3 weeks ago

blahosyl commented 3 weeks 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 1 week 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 1 week ago

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