This project was developed as part of the Yandex Practicum curriculum. The main goal was to master Django application testing using various frameworks and methodologies.
The repository includes two separate applications:
-
YaNote — a note-taking service tested with the standard Unittest library.
-
YaNews — a news portal tested with the Pytest framework.
This project serves as a showcase of my Backend QA skills. It demonstrates my ability to write maintainable tests, manage fixtures, and verify complex business logic within real-world Django environments.
- Models: Ensuring correct object creation, string representations, and attribute validation.
- URLs & Access: Verifying page availability for anonymous users, authorized users, and content authors.
- Forms: Data validation and handling of edge cases in user input.
- Business Logic: Testing CRUD operations (Create, Read, Update, Delete) for notes and comments.
git clone https://github.com
cd django_testingpython -m venv venv
source venv/bin/activatepip install -r requirements.txtFor YaNote (Unittest):
python manage.py test yanoteFor YaNews (Pytest):
pytest