Skip to content

Conversation

@josdejong
Copy link
Collaborator

Unify the structure of compile.test.json with the structure of parse.test.json and stringify.test.json.

Old structure:

{
  "source": "https://github.com/jsonquerylang/jsonquery/blob/v5.0.0/test-suite/compile.test.json",
  "version": "5.0.0",
  "tests": [
    {
      "category": "value",
      "description": "should get a string",
      "input": null,
      "query": "Hello",
      "output": "Hello"
    },
    // ...
  ]
}

new structure:

{
  "source": "https://github.com/jsonquerylang/jsonquery/blob/v5.0.0/test-suite/compile.test.json",
  "version": "5.0.0",
  "groups": [
    {
      "category": "value",
      "description": "should get a string",
      "tests": [
        { 
          "input": null,
          "query": "Hello",
          "output": "Hello"
        },
        // ...
      ]
    },
    // ...
  ]
}

@josdejong josdejong merged commit 8bdec4b into develop Apr 29, 2025
4 checks passed
@josdejong josdejong deleted the chore/restructure-compile branch April 29, 2025 12:27
@github-actions
Copy link

🎉 This PR is included in version 5.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants