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

Implement a basic framework for output tests #2510

Merged
merged 5 commits into from Mar 14, 2023

Commits on Mar 12, 2023

  1. Implement a basic framework for output tests

    Reference files can be updated via the helper script
    `bin/update-reference-output.php`. When running the tests, the output
    of all failed test cases is saved to the local `tmp` directory, so the
    differences to the reference rendering can be easily checked manually.
    Mellthas committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    25d0c78 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec9b0d8 View commit details
    Browse the repository at this point in the history
  3. Fail on skipped tests

    To ensure that output tests are run successfully on CI; they are skipped
    if Ghostscript is not installed.
    Mellthas committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    815f64a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    70cc433 View commit details
    Browse the repository at this point in the history
  5. Add test cases for border rendering

    Non-exhaustive, mostly verifying the recent changes to the rendering
    logic.
    Mellthas committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    f500951 View commit details
    Browse the repository at this point in the history