Skip to content

Add unit tests for 5 untested modules, align CI and Makefile - #42

Merged
gvonnessi merged 1 commit into
mainfrom
chore/cleanup-tests-ci
Feb 17, 2026
Merged

gvonnessi merged 1 commit into
mainfrom
chore/cleanup-tests-ci

Conversation

@gvonnessi

Copy link
Copy Markdown
Collaborator

Summary

  • Add unit tests for blocks.lua, academic.lua, reader_inlines.lua, reader_blocks.lua, and reader_academic.lua (235 new assertions, 505 total across 11 test files)
  • Add golden baseline comparison (make test-golden) to CI pipeline
  • Align make lint flags with CI (--no-unused-args --no-max-line-length)
  • Replace hardcoded test file list with wildcard discovery for auto-detection of new test files
  • Add test-all Makefile target for single-command full validation
  • Update CONTRIBUTING.md pre-PR command to make test-all
  • Fix README Pandoc version requirement from 2.11+ to 3.0+

Test plan

  • make test-unit — all 11 unit test files discovered and pass (505 assertions)
  • make test-golden — 27 golden baselines match
  • make test-reader — 27 round-trip tests pass
  • make validate — JSON structure validation passes
  • CI lint job passes with aligned flags

- Add unit tests for blocks.lua, academic.lua, reader_inlines.lua,
  reader_blocks.lua, and reader_academic.lua (235 new assertions,
  505 total)
- Add golden baseline comparison step to CI pipeline
- Align make lint flags with CI (--no-unused-args --no-max-line-length)
- Replace hardcoded test file list with wildcard discovery
- Add test-all target for single-command full validation
- Update CONTRIBUTING.md pre-PR command to use make test-all
- Fix README Pandoc version requirement: 2.11+ to 3.0+
@gvonnessi
gvonnessi force-pushed the chore/cleanup-tests-ci branch from 5077e56 to 9d08bef Compare February 17, 2026 01:44
@gvonnessi
gvonnessi merged commit 0417078 into main Feb 17, 2026
2 checks passed
@gvonnessi
gvonnessi deleted the chore/cleanup-tests-ci branch February 17, 2026 01:45
@gvonnessi gvonnessi mentioned this pull request Feb 17, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant