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

Support YAML tags #415

Merged
merged 3 commits into from
Aug 17, 2023
Merged

Support YAML tags #415

merged 3 commits into from
Aug 17, 2023

Conversation

niknetniko
Copy link
Member

This PR adds support for YAML tags in the DSL.

For example:

- tab: 'Test'
  contexts:
    - testcases:
        - statement: 'test()'
          return: !!set {5, 6}

Note that the return statement is not checked by the JSON Schema (as it is not capable of doing custom types), so if you put nonsense, it will crash with an exception somewhere (e.g. !int64 [5, 6] will result in a crash).

Base automatically changed from named-arguments-fallback to master August 17, 2023 12:56
@niknetniko niknetniko merged commit 90eba53 into master Aug 17, 2023
@niknetniko niknetniko deleted the feature/yaml-tags branch August 17, 2023 12:56
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.

Support advanced types of TESTed as YAML types Support YAML sets
1 participant