Skip to content

Add test suite, CI workflow, and technical documentation#7

Open
taoeffect wants to merge 3 commits intolwtfrom
test-suite
Open

Add test suite, CI workflow, and technical documentation#7
taoeffect wants to merge 3 commits intolwtfrom
test-suite

Conversation

@taoeffect
Copy link
Member

@taoeffect taoeffect commented Jan 20, 2026

This commit introduces a comprehensive testing infrastructure for the Lwt branch, including:

  • Unit tests for parsers (JS, HTML, Pug, .strings) and integration tests for CLI extraction.
  • A GitHub Actions workflow for automated CI on Linux.
  • ARCHITECTURE.md and AGENTS.md for system design and agent guidance.
  • Build fixes for Linux (link flags and libgomp/libomp paths).

Tests use Lwt_main.run and Lwt_io for async parser tests (.strings parsing), while synchronous parsers (JS, HTML, Pug) are tested directly.

Co-authored-by: Claude Opus 4.6 (via Crush)

@taoeffect taoeffect requested a review from SGrondin January 20, 2026 03:00
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@taoeffect taoeffect changed the base branch from master to lwt March 2, 2026 20:09
This commit introduces a comprehensive testing infrastructure for the
Lwt branch, including:
- Unit tests for parsers (JS, HTML, Pug, .strings) using ppx_inline_test
- Integration tests for CLI extraction against fixture files
- A GitHub Actions workflow for automated CI on Linux
- AGENTS.md and ARCHITECTURE.md for system design and agent guidance
- Build fixes for Linux (link flags and libgomp/libomp path search)
- Testing section added to DEVELOPMENT.md

Co-authored-by: Claude Opus 4.6 (via Crush) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 2, 2026 20:13

This comment was marked as resolved.

taoeffect and others added 2 commits March 2, 2026 12:29
- Rename PAWTHS to PATHS in src/quickjs/dune for readability
- Use curl -fsSL in CI workflow for fail-fast downloads
- Remove side-effecting block from tests/dune that clobbered
  strings/french.strings in the repo root on every test run
- Fix DEVELOPMENT.md to accurately describe hermetic test behavior
- Fix ARCHITECTURE.md test tooling description (ppx_inline_test,
  not ppx_expect; separate SZXX/Angstrom for HTML vs Pug)

Co-authored-by: Claude Opus 4.6 (via Crush) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (via Crush) <noreply@anthropic.com>
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.

2 participants