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

Improve tests. #44

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Improve tests. #44

merged 1 commit into from
Apr 19, 2024

Conversation

plietar
Copy link
Member

@plietar plietar commented Apr 18, 2024

This adds some new test helpers, most notably a run_snippet function that can run an string literal as an orderly report. It helps make tests easier to write and a lot more self contained, as everything relevant can now be found within the test function, rather than split into the tests/orderly/examples directory.

A few more tests are added, and some existing tests are cleaned up by using more of both existing and new helper functions.

This adds some new test helpers, most notably a `run_snippet` function
that can run an string literal as an orderly report. It helps make tests
easier to write and a lot more self contained, as everything relevant
can now be found within the test function, rather than split into the
`tests/orderly/examples` directory.

A few more tests are added, and some existing tests are cleaned up by
using more of both existing and new helper functions.
@plietar plietar requested a review from richfitz April 18, 2024 17:53
@plietar plietar merged commit 3a861f6 into main Apr 19, 2024
7 checks passed
@plietar plietar deleted the improve-tests branch May 13, 2024 13:51
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