Add compiler and server regression tests
Expose the compiler session as a library target, run core as a workspace member, and add direct typeset tests plus end-to-end HTTP tests. Coverage: examples, arXiv fixture, starred headings, rectangles, errors, page-hash cache stability, static frontend assets, project API, preview/PDF, traversal rejection, and the legacy endpoint.
This commit is contained in:
1 parent
ff9717397e
commit
bad477fbee
9 files changed
+501
-3
No files matched your search
+4
-1
@@ -52,5 +52,8 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
|
||||
- `examples/hello.tex`, `examples/boxes.tex`, `examples/compat.tex` compile to
|
||||
one A4 page each; the arXiv template project compiles to 3 Letter pages.
|
||||
- `cargo fmt --check` passes; `cargo test` currently has no test cases.
|
||||
- `cargo fmt --check` passes; `cargo test --workspace` (12 tests) covers the three
|
||||
examples, the arXiv fixture, SVG/PDF output, project API, static frontend
|
||||
assets, path traversal, the legacy `/texrra` endpoint, and page-hash cache
|
||||
stability.
|
||||
- Warm preview: hello ~0.6ms, arXiv ~13ms (release server, page layout cached).
|
||||
Reference in new issue
Block a user