tingerrr / typst-test

A test runner for typst projects.
https://tingerrr.github.io/typst-test/
MIT License
27 stars 2 forks source link

Extract core behavior into a library crate #13

Closed tingerrr closed 5 months ago

tingerrr commented 10 months ago

By extracting the core implementation of test scaffolding and test running, other projects such as typst-lsp and typst-preview could benefit from it without needing to interface with the bare bones binary interface.

Typst-preview already supports a special presentation mode for polylux, it's not too far-fetched to assume they could be interested in a special test-watching mode. Likewise, typst-lsp could allow discovering and running tests easily.

tingerrr commented 5 months ago

I'm closing this as work as begun already, and this really doesn't need an issue in itself.