Commit Graph

3 Commits

Author SHA1 Message Date
kennethreitz 4b1ccdd22c Update tests for Strong's Concordance (replaces old concordance)
- Replace TestConcordanceRoutes with TestStrongsRoutes
- Add tests for Strong's index, search, entry pages
- Add tests for Hebrew and Greek language indexes
- Add tests for pagination and invalid entries
- Update integration tests to use /strongs instead of /concordance

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 17:07:10 -05:00
kennethreitz 5a1051e8a7 Add family tree ancestors and descendants templates
Created two new templates to complete the family tree navigation:

- family_tree_ancestors.html: Displays recursive ancestor tree
- family_tree_descendants.html: Displays recursive descendant tree

Features:
- Recursive Jinja2 macros for tree rendering
- Clean hierarchical display with indentation
- Generation metadata for each person
- Navigation links back to person pages
- Tufte CSS styling consistent with site design

Also added navigation links from person detail pages:
- "View Ancestors" link (shown when person has parents)
- "View Descendants" link (shown when person has children)

Test updates:
- Enabled 4 previously skipped tests (now all 45 tests passing)
- Total test suite: 176 tests passing (up from 172)

All family tree routes now fully functional with complete template coverage.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 12:51:50 -05:00
kennethreitz fa53833334 Add comprehensive tests for advanced routes
Added 41 new tests covering Family Tree, Timeline, Concordance, and Study Guides routes:

- Family Tree: 17 tests (13 passing, 4 skipped for unimplemented templates)
  - Main page, generation pages, person pages, search, lineage SVG
  - Skipped: ancestors/descendants routes (templates not yet implemented)

- Biblical Timeline: 5 tests
  - Page loading, event content, chronological dates, PDF generation

- Concordance: 8 tests
  - Word lookup, search functionality, case-insensitive search, verse links

- Study Guides: 11 tests
  - Index page, individual guides, PDF generation, navigation

- Integration: 4 tests
  - HTML structure, titles, content-type headers across all pages

Total test count: 172 passing, 4 skipped (up from 131)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 12:40:37 -05:00