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

Add --report-json report type #2738

Closed
jcamiel opened this issue Apr 26, 2024 · 0 comments · Fixed by #2805
Closed

Add --report-json report type #2738

jcamiel opened this issue Apr 26, 2024 · 0 comments · Fixed by #2805
Assignees
Labels
enhancement New feature or request topic: reports
Milestone

Comments

@jcamiel
Copy link
Collaborator

jcamiel commented Apr 26, 2024

This is a specific issue to add a new type of report --report-json to tackle #1907 #1969.

The proposal:

$ hurl --test --report-json my-directory *.hurl

Will create a report under my-directory

$ tree my-directory
my-directory
├── index.json
└── store
    ├── 9c01db72-b2fa-442c-a454-ed8bd00a8145-response.json
    ├── 9f02cc8d-deb4-4830-8bf3-def1d93311a3-response.xml
    └── c9ea8402-ffab-41da-aaef-80d4766ec332-response

index.json is a JSON array containing the same JSON as if we'd run --json on each file, plus an additional field response that reference the response file in store. This is quite similar to how is structured --report-html.

@jcamiel jcamiel added the enhancement New feature or request label Apr 26, 2024
@jcamiel jcamiel added this to the 5.0.0 milestone Apr 26, 2024
@jcamiel jcamiel self-assigned this Apr 26, 2024
@jcamiel jcamiel linked a pull request May 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request topic: reports
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant