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

Implement assertion diff for Json/map/record & Xml data types #26204

Closed
Dilhasha opened this issue Oct 5, 2020 · 2 comments · Fixed by #26715
Closed

Implement assertion diff for Json/map/record & Xml data types #26204

Dilhasha opened this issue Oct 5, 2020 · 2 comments · Fixed by #26715
Assignees
Labels
Area/TestFramework Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/NewFeature

Comments

@Dilhasha
Copy link
Contributor

Dilhasha commented Oct 5, 2020

Description:
Implement assertion equality diff for Json/map/record & Xml data types

@Dilhasha
Copy link
Contributor Author

Dilhasha commented Oct 23, 2020

Following is the proposed format for map diff for test assertions.

  • When there are key & value mismatches

Screen Shot 2020-10-23 at 11 14 35 PM

  • When there are only value mismatches

Screen Shot 2020-10-23 at 11 17 04 PM

@Dilhasha
Copy link
Contributor Author

Dilhasha commented Nov 3, 2020

Assertion diff implementation for xml will be tracked in #26724

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