Skip to content

Add automatic tests - #3

Closed
flavio20002 wants to merge 4 commits into
fenjalien:mainfrom
flavio20002:main
Closed

Add automatic tests#3
flavio20002 wants to merge 4 commits into
fenjalien:mainfrom
flavio20002:main

Conversation

@flavio20002

@flavio20002 flavio20002 commented Jul 27, 2023

Copy link
Copy Markdown

Depends on #2

Add new structure for automatic test and some use cases as well (inspired by typst-canvas structure):

It includes two new workflows.

  • One that is executed automatically on push and pull request called "test"
  • One executed on demand called "update-tests" that can be used to generate the reference pngs and download them on the computer. Useful if the person is not able to launch the script locally.

The test case support multipage output. The test script automatically check all the output pngs versus the reference png committed with the repository.

@flavio20002 flavio20002 closed this by deleting the head repository Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants