mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-22 21:51:10 -05:00
Add test utilities and state machine diagrams for FSM models
- Introduced reusable test utilities in `backend/tests/utils` for FSM transitions, HTMX interactions, and common scenarios. - Added factory functions for creating test submissions, parks, rides, and photo submissions. - Implemented assertion helpers for verifying state changes, toast notifications, and transition logs. - Created comprehensive state machine diagrams for all FSM-enabled models in `docs/STATE_DIAGRAMS.md`, detailing states, transitions, and guard conditions.
This commit is contained in:
6
backend/tests/integration/__init__.py
Normal file
6
backend/tests/integration/__init__.py
Normal file
@@ -0,0 +1,6 @@
|
||||
"""
|
||||
Integration tests for ThrillWiki.
|
||||
|
||||
These tests verify that different components of the application work together correctly
|
||||
without requiring a browser (unlike E2E tests).
|
||||
"""
|
||||
Reference in New Issue
Block a user