tingerrr / typst-test

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

Allow custom default tests #4

Closed fenjalien closed 7 months ago

fenjalien commented 7 months ago

Currently whenever a new test is created it is populated with "Hello World!". I then have to copy and paste in the package's import statement and other setup which is common to all tests I want to run.

I would like a way to change the default test on a per project basis.

tingerrr commented 7 months ago

Yeah, that sounds like a good feature to have. I think a tests/template.typ file will suffice for now, I don't want to rush into haphazard configuration before the typst-manifest crate is fully finished.

tingerrr commented 7 months ago

Implemented in ecbcd21259eb06ebdc7edca6216897a4d67c861b