Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Allow nested tests #245

Merged
merged 1 commit into from
Oct 9, 2023
Merged

tests: Allow nested tests #245

merged 1 commit into from
Oct 9, 2023

Conversation

johannes-wolf
Copy link
Member

Tests are now detected by looking for files named "test.typ", rather than using each directory under "$TEST_ROOT".

@johannes-wolf johannes-wolf added the enhancement ⬆️ New feature or request label Oct 9, 2023
@johannes-wolf johannes-wolf mentioned this pull request Oct 9, 2023
Copy link
Member

@fenjalien fenjalien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm impressed by how little the test script needed to change. It looks like you need to update the reference images though

tests/plot/parametric/test.typ Outdated Show resolved Hide resolved
tests/plot/parametric/test.typ Outdated Show resolved Hide resolved
tests/plot/parametric/test.typ Outdated Show resolved Hide resolved
Tests are now detected by looking for files named "test.typ", rather
than using each directory under "$TEST_ROOT".
@johannes-wolf johannes-wolf merged commit 282e400 into master Oct 9, 2023
2 checks passed
@johannes-wolf johannes-wolf deleted the scripts-nested-dir branch October 9, 2023 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ⬆️ New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants