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

tester: add config.toml and extra assertions #361

Merged
merged 4 commits into from
Oct 11, 2024

Conversation

niklasdewally
Copy link
Contributor

Add a configuration file, config.toml, to test cases, allowing
optional extra assertions to be enabled. These assertions are run on the
rewritten model.

Add the "vector_operators_have_partially_evaluated" assertion, allowing
testing of partial evaluation.

Changelog

  • tools/test-summary: fix typo

  • gitignore: add savile row solution files

  • tester: when verbose is enabled, do not run tests in parallel

    When verbose printing is enabled in the tester, run tests in sequence
    not parallel. When run in parallel, log messages from tests would appear
    out of order and interspersed with logs from other test cases.

  • tester: allow enabling of extra assertions in config.toml

    Add an optional configuration file, config.toml, to test cases, allowing
    optional extra assertions to be enabled. These assertions are run on the
    rewritten model.

    Add the "vector_operators_have_partially_evaluated" assertion, allowing
    testing of partial evaluation.

When verbose printing is enabled in the tester, run tests in sequence
not parallel. When run in parallel, log messages from tests would appear
out of order and interspersed with logs from other test cases.
Add an optional configuration file, config.toml, to test cases, allowing
optional extra assertions to be enabled. These assertions are run on the
rewritten model.

Add the "vector_operators_have_partially_evaluated" assertion, allowing
testing of partial evaluation.
@ozgurakgun ozgurakgun merged commit 4ba6b1c into conjure-cp:main Oct 11, 2024
8 checks passed
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