<feed xmlns='http://www.w3.org/2005/Atom'>
<title>org-drill/tests/test-strategy.org, branch main</title>
<subtitle>Spaced-repetition flashcards for Org Mode
</subtitle>
<id>https://git.cjennings.net/org-drill/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/org-drill/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/org-drill/'/>
<updated>2025-11-13T17:03:00+00:00</updated>
<entry>
<title>refactor: Improve test infrastructure and fix all compiler warnings</title>
<updated>2025-11-13T17:03:00+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2025-11-13T17:03:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/org-drill/commit/?id=87e74a3a6ccf5b05b760e9f8beec9a78886ab076'/>
<id>urn:sha1:87e74a3a6ccf5b05b760e9f8beec9a78886ab076</id>
<content type='text'>
This commit modernizes the test infrastructure and eliminates all
compilation warnings to prepare for comprehensive test coverage.

Test Infrastructure Improvements:
- Reorganize tests from test/ to tests/ directory (standard convention)
- Modernize Makefile with patterns from chime.el
  - Add convenient test targets (test-file, test-name)
  - Support unit and integration test separation
  - Better help documentation with examples
  - Auto-detect Cask installation location
- Add comprehensive test-strategy.org document
  - 6-week implementation plan
  - Critical function prioritization
  - Integration test scenarios
  - Coverage goals (80% target)

Compiler Warning Fixes (org-drill.el):
- Replace obsolete org-mode functions:
  - org-show-subtree → org-fold-show-subtree
  - org-show-entry → org-fold-show-entry
  - org-get-tags-at → org-get-tags
  - org-remove-latex-fragment-image-overlays → org-clear-latex-preview
  - org-toggle-latex-fragment → org-latex-preview
  - org-bracket-link-regexp → org-link-bracket-re
- Fix ~31 unescaped single quotes in docstrings (use \=')
- Remove unused lexical variables (cb, drawer-name, session, orig-fun)
- Remove obsolete outline-view-change-hook binding
- Wrap org 8.x compatibility shim in with-no-warnings
- Fix long docstring at line 1085

Test Status:
- All 3 existing tests passing
- Zero compilation warnings (was ~40 warnings)
- Ready for Phase 1 implementation (foundation tests)
</content>
</entry>
</feed>
