typst-test icon indicating copy to clipboard operation
typst-test copied to clipboard

A test runner for typst projects.

Results 17 typst-test issues
Sort by recently updated
recently updated
newest added

## Description When a test compiles successfully but has warnings, they're not emitted. Displaying these warnings is important for catching deprecations early. It's also important to catch non-fatal regressions, like...

C-feature
A-cli
A-compilation
P-medium
A-project

## Description Tests which emit only warnings are currently treated as passing in the compilation stage, it would be great to allow users to have tests fail, if they emit...

C-feature
A-cli
A-compilation
P-low

## Description ## Steps to Reproduce the Problem 1. Create a manifest at `$root/typst.toml` which contains `tool.typst-test.vcs = "git"` 1. Run `typst-test init -r $root --vcs git` 1. Run `typst-test...

C-bug
A-cli
P-medium
A-config

There are three approaches to this problem: 1. Provide a fixed set of typst versions which are supported per typst-test version. - lots of duplicated code to make rustc happy...

C-feature
blocked
A-lib
A-diagnostic
A-compilation
P-low

As the title says, blocked by [typst#4540](https://github.com/typst/typst/pull/4540).

A-cli
P-low

## Description `typst-test` should be able to compile the document contained in a template's scaffold and compare it to a reference. ## Proposed Solution For a template test to be...

C-feature
A-cli
A-compilation
P-low

Allow configuring the test set which is used by default using config options on a per-command basis. This also ties into being able to configure custom test set aliases. One...

C-feature
A-cli
P-low
A-test-sets
A-config

When a test template is configured, running `add` with no extra parameters will panic due to running into a `todo!` macro. `add` still lacks the parameters and setup to create...

C-bug
A-cli
P-high

At some point, possibly after 0.1.0, typst-test should support doc tests by searching in doc comments for code blocks marked either `example` or `test`, run them and possibly compare them...

C-feature
A-lib
A-compilation
P-medium

A lot of things are only partially documented: - the test set language is unfinished and only has a single example - the folder structure of tests is not documented...

C-docs
P-high
A-project