Feature: POST-based diagram generation with local caching #2

Closed
adebaumann wants to merge 7 commits from feature/diagram-post-caching into main

7 Commits

Author SHA1 Message Date
59756eaff7 Add pytest configuration for optional pytest usage
Provides:
- pytest-django integration
- Test discovery patterns
- Output formatting options
- Coverage configuration
- Test markers for organization
- Ignore paths
2025-10-24 17:27:27 +00:00
bb90ff1a8f Add quick start guide for testing
Provides:
- Quick reference for common test commands
- Table of runner shortcuts
- Coverage instructions
- What's tested checklist
- Debugging tips
- Test statistics
2025-10-24 17:27:15 +00:00
e68a98d54a Add convenient test runner script
Provides shortcuts for:
- Running all tests
- Running specific test suites
- Running with coverage
- Running with fail-fast
- Passing through to Django test runner
2025-10-24 17:26:46 +00:00
d1623b64f2 Add comprehensive testing documentation
- Describe test structure and organization
- Document how to run tests (all, specific, individual)
- Explain test coverage options
- List what each test suite covers
- Provide CI/CD integration examples
- Include debugging tips
- Show best practices for writing new tests
2025-10-24 17:26:30 +00:00
2fa10add66 Add unit tests for clear_diagram_cache management command
- Test clearing all cache
- Test clearing by specific type
- Test clearing empty cache
- Test command properly calls underlying function
- Test command help text
- Integration tests for full workflow
2025-10-24 17:25:58 +00:00
da66f2ddc6 Add comprehensive unit tests for rendering functions
- Test text rendering with markdown
- Test unordered and ordered lists
- Test table rendering
- Test diagram rendering (success and error cases)
- Test diagram with custom options
- Test code blocks
- Test edge cases (empty content, no type)
- Test multiple sections
- Test md_table_to_html function
- Integration tests for mixed content
2025-10-24 17:20:46 +00:00
bff887428e Add comprehensive unit tests for diagram caching
- Test hash computation and consistency
- Test cache path generation
- Test cache miss (generates diagram)
- Test cache hit (uses cached diagram)
- Test error handling
- Test cache clearing (all and by type)
- Test unicode handling
- Test timeout configuration
- Integration tests for full lifecycle
2025-10-24 17:19:52 +00:00