As the site owner,
I want to implement a straightforward automated testing framework for my Django project,
So that I can ensure the platform's stability and reliability throughout its development.
Acceptance Criteria
Framework Configuration: The Django project is equipped with a functioning test framework.
Initial Test Case: A basic test is developed, executed, and passed, verifying a key aspect of the site, such as a page load.
Testing Guide: A set of instructions for running and writing tests is documented, aiding future testing efforts.
Tasks
[x] Understand Django Testing: Familiarize yourself with the Django testing framework by reviewing relevant sections of the Django documentation.
[ ] Create a Test: Select an essential function of your site, such as the homepage loading.
Write a test in the tests.py file of the relevant Django app to verify that the homepage loads successfully with a 200 HTTP status.
[ ] Run the Test: Execute python manage.py test to run your tests, ensuring the new test passes.
[ ] Document the Process: Draft a simple guide on how to execute existing tests and add new ones, and include it in your project's documentation.
JorgenDIF/PP4-Riot-Rythm-Festival#64
As the site owner, I want to implement a straightforward automated testing framework for my Django project, So that I can ensure the platform's stability and reliability throughout its development.
Acceptance Criteria
Tasks
[x] Understand Django Testing: Familiarize yourself with the Django testing framework by reviewing relevant sections of the Django documentation.
[ ] Create a Test: Select an essential function of your site, such as the homepage loading. Write a test in the tests.py file of the relevant Django app to verify that the homepage loads successfully with a 200 HTTP status.
[ ] Run the Test: Execute python manage.py test to run your tests, ensuring the new test passes.
[ ] Document the Process: Draft a simple guide on how to execute existing tests and add new ones, and include it in your project's documentation.