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

[Feature request] Add a way to export a test report json #78

Open
tahirmt opened this issue Dec 17, 2022 · 1 comment
Open

[Feature request] Add a way to export a test report json #78

tahirmt opened this issue Dec 17, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@tahirmt
Copy link

tahirmt commented Dec 17, 2022

It would be nice to export a json report with screenshots that can provide the test name, file name, file line along with the image names for the reference, failure and difference images.

This information will be handy in creating a report from the xcresult in either html or markdown for use in custom CI.

{
    "file": "/path/to/failed_file.swift",
    "line": 32,
    "message": "failure message reported",
    "attachments": [
        {
            "reference": "file name of image.png",
            "failure": "file name of image.png",
            "difference": "file name of image.png"
        }
    ]
}
@tahirmt tahirmt added the bug Something isn't working label Dec 17, 2022
@tahirmt
Copy link
Author

tahirmt commented Dec 17, 2022

I see grouping by test is still an option by using --test that gets me a lot of the information I need still

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant