8000 Refactored expectations on compound data by jgebal · Pull Request #1043 · utPLSQL/utPLSQL · GitHub
[go: up one dir, main page]

Skip to content

Refactored expectations on compound data #1043

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

Merged
merged 3 commits into from
Feb 18, 2020

Conversation

jgebal
Copy link
Member
@jgebal jgebal commented Feb 15, 2020

With this change the reporting of differences is unified across:
unordered, ordered and join_by comparison.

Up until now, when using unordered or join_by the differences were reported column by column as opposed to diff of entire row in one-line, as it is when using default data-set compare method.

This was making reports hard to read and interpret.
Also signal-to-noise ration was pretty bad, as each new line was repeating join_by columns.

The change addresses this issue.

Additionally, unordered_columns diff report is now showing expected and actual columns in the same order for rows that contain differences.

You may see the differences by looking into changed test lines

With this change the reporting of differences is unified across:
`unordered`, `ordered` and `join_by` comparison.
@jgebal jgebal added this to the 3.1.10 milestone Feb 15, 2020
@jgebal jgebal requested a review from lwasylow February 15, 2020 14:47
@jgebal jgebal self-assigned this Feb 15, 2020
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 2 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@jgebal jgebal merged commit 4bed0c4 into develop Feb 18, 2020
@jgebal jgebal deleted the feature/unify_cursor_compare_behavior branch February 18, 2020 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0