tingerrr / typst-test

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

FR: Allow changing test kind #33

Closed tingerrr closed 4 months ago

tingerrr commented 4 months ago

The edit sub command currently does nothing, but should ideally be used to change various settings of tests like their reference kind.

The internal API expects in memory documents to write as new references for make_persistent, which requires a small refactor of the internal test runner infrastructure to be able to keep the intermediate test states after calling cli::run::run.

I want to stay off of this change until I have ported this to be more generic and part of the library crate.