Add test suite, CI workflow, and technical documentation#7
Open
Add test suite, CI workflow, and technical documentation#7
Conversation
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>
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit introduces a comprehensive testing infrastructure for the Lwt branch, including:
Tests use
Lwt_main.runandLwt_iofor async parser tests (.stringsparsing), while synchronous parsers (JS, HTML, Pug) are tested directly.Co-authored-by: Claude Opus 4.6 (via Crush)