Skip to content

Jq#41

Merged
andreasjansson merged 12 commits into
mainfrom
jq
Oct 15, 2025
Merged

Jq#41
andreasjansson merged 12 commits into
mainfrom
jq

Conversation

@andreasjansson

@andreasjansson andreasjansson commented Oct 15, 2025

Copy link
Copy Markdown
Member

Important

Add support for validating JSON outputs using jq queries with a new JqQueryChecker class and update configurations and tests accordingly.

  • Behavior:
    • Add jq_query support in TestCase in config.py to validate JSON outputs.
    • Introduce JqQueryChecker in output_checkers.py to execute jq queries on JSON outputs.
    • Update parse_config_test_case() in main.py to handle jq_query.
  • Configuration:
    • Update setup.py to include jq as a dependency.
    • Modify README.md to document jq_query usage in test cases.
  • Testing:
    • Add tests for JqQueryChecker in test_output_checkers.py.
    • Add configuration parsing tests for jq_query in test_main.py.

This description was created by Ellipsis for 523b407. You can customize this summary. It will automatically update as commits are pushed.

Comment thread README.md
Comment thread cog_safe_push/output_checkers.py
@andreasjansson andreasjansson merged commit 67bf4c6 into main Oct 15, 2025
4 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.

1 participant