Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

chore(test): make it easier to debug failures in SettingsTest #994

Merged
merged 2 commits into from Mar 31, 2020

Conversation

igorbernstein2
Copy link
Contributor

Currently it's really difficult to debug failures in SettingsTest. If something goes out sync it just tells you the expectation is is unmet. This pr will tell you which attribute path is broken

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 30, 2020
@codecov
Copy link

codecov bot commented Mar 31, 2020

Codecov Report

Merging #994 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #994   +/-   ##
=========================================
  Coverage     78.66%   78.66%           
  Complexity     1167     1167           
=========================================
  Files           204      204           
  Lines          5152     5152           
  Branches        413      413           
=========================================
  Hits           4053     4053           
  Misses          925      925           
  Partials        174      174

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a676891...d4a2cb7. Read the comment docs.

Copy link
Contributor

@vam-google vam-google left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really understand what is going on here, but it is test-only and looks safe, so LGTM =)

@igorbernstein2
Copy link
Contributor Author

Yea, this test is overly complicated. But I didn't want to rewrite it, just needed to get reasonable error messages so that I could finish #993

@igorbernstein2 igorbernstein2 merged commit 909bf1b into googleapis:master Mar 31, 2020
@igorbernstein2 igorbernstein2 deleted the better-messaging branch March 31, 2020 22:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants