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

YAML 1.2 Test Case Generator #19

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

YAML 1.2 Test Case Generator #19

wants to merge 19 commits into from

Commits on Jan 29, 2023

  1. Fixed 'toOwnedSlice' calls returning error unions not 'trying'

    Fixed references to 'field_type' being renamed to 'type'
    
    Checked all tests now pass
    Brendan Dennis authored and Brendan Dennis committed Jan 29, 2023
    Configuration menu
    Copy the full SHA
    ab408ca View commit details
    Browse the repository at this point in the history
  2. Added in prototype test generator that takes the 'data' folder produc…

    …ed by the 1.2 YAML test cases and autogenerates zig test cases
    Brendan Dennis authored and Brendan Dennis committed Jan 29, 2023
    Configuration menu
    Copy the full SHA
    447ab0f View commit details
    Browse the repository at this point in the history
  3. Parser no longer crashes and can load all files from the test suite

    Brendan Dennis authored and Brendan Dennis committed Jan 29, 2023
    Configuration menu
    Copy the full SHA
    197656a View commit details
    Browse the repository at this point in the history
  4. Updated build.zig to search in the test folder for the 'data' folder …

    …which contains the tests
    Brendan Dennis authored and Brendan Dennis committed Jan 29, 2023
    Configuration menu
    Copy the full SHA
    4868608 View commit details
    Browse the repository at this point in the history
  5. Updated some formatting and ensured reverse expect is set for error p…

    …resent case
    Brendan Dennis authored and Brendan Dennis committed Jan 29, 2023
    Configuration menu
    Copy the full SHA
    089d66f View commit details
    Browse the repository at this point in the history
  6. Removed headers from functions hacked in from vk.zig generator

    Brendan Dennis authored and Brendan Dennis committed Jan 29, 2023
    Configuration menu
    Copy the full SHA
    aabd21b View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. Moved the test generator code into test/generator.zig

    Updated the tests to the improved format as suggested.
    Brendan Dennis authored and Brendan Dennis committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    a3457c0 View commit details
    Browse the repository at this point in the history
  2. Added whitespace indentation to the test functions

    Updated Readme to include information about tests
    
    Fixed missing error return for cases that we expect success on
    Brendan Dennis authored and Brendan Dennis committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    bbfc09e View commit details
    Browse the repository at this point in the history
  3. Updated some comments in the generator

    Brendan Dennis authored and Brendan Dennis committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    944cdca View commit details
    Browse the repository at this point in the history
  4. Updated formatting to include the 'test purpose' string loaded from '…

    …===' file as a comment header. This will also be useful in future failure messages.
    Brendan Dennis authored and Brendan Dennis committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    d46d9b4 View commit details
    Browse the repository at this point in the history
  5. Added an option -DspecificYAML which accepts a list of tests to allow…

    … generating only specific tests to run against, which should help reduce the amount of excess messages when running the test cases.
    Brendan Dennis authored and Brendan Dennis committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    99b4f56 View commit details
    Browse the repository at this point in the history
  6. Updated Readme to include example of using the specificYAML command

    Brendan Dennis authored and Brendan Dennis committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    4e06b77 View commit details
    Browse the repository at this point in the history
  7. Added -DsilentYAML=true to silence failing calls in test cases, this …

    …effectively supresses the call stack report on error and just logs success/failure as a one liner. Allows for quicker review of pass/fail
    Brendan Dennis authored and Brendan Dennis committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    08232c1 View commit details
    Browse the repository at this point in the history
  8. Improved silent test function to report pass/fail with error, but as …

    …a single line
    Brendan Dennis authored and Brendan Dennis committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    7d4ffc3 View commit details
    Browse the repository at this point in the history
  9. Removed unneccesary log in failure case of silent test output

    Brendan Dennis authored and Brendan Dennis committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    73a9c8a View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2023

  1. zig fmt

    kubkon committed Feb 4, 2023
    Configuration menu
    Copy the full SHA
    d917b72 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2023

  1. Updated the formatting in the generator.zig to canonical

    Brendan Dennis authored and Brendan Dennis committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    d8fc833 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Updated to new zig syntax

    Build file seeems to be working but i don't think the .test CompileStep works anymore. bug?
    Brendan Dennis authored and Brendan Dennis committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    f42bb3b View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. Added enable-spec-tests flag

    Updated test module dependencies and set kind to correct enum variant
    Brendan Dennis authored and Brendan Dennis committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    70a89fb View commit details
    Browse the repository at this point in the history