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

Remove unnecessary usage of gomega libraries #166

Merged
merged 4 commits into from
Jan 7, 2022

Conversation

willbeason
Copy link
Member

@willbeason willbeason commented Dec 1, 2021

Wonderfully, this reduces our imported library code by ~180,000 lines.

@willbeason willbeason added this to the Rego Environment Sharding milestone Dec 1, 2021
@codecov-commenter
Copy link

codecov-commenter commented Dec 1, 2021

Codecov Report

Merging #166 (1b06f49) into master (4e828a7) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #166   +/-   ##
=======================================
  Coverage   44.92%   44.92%           
=======================================
  Files          59       59           
  Lines        2776     2776           
=======================================
  Hits         1247     1247           
  Misses       1286     1286           
  Partials      243      243           
Flag Coverage Δ
unittests 44.92% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


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 4e828a7...1b06f49. Read the comment docs.

@willbeason willbeason force-pushed the no-mocks branch 2 times, most recently from ed137f5 to cedfac4 Compare December 10, 2021 17:05
None of our current tests need gomega mocking, and the tests are
clearer/more flexible/more standardized  using the core
testing.T library.

Signed-off-by: Will Beason <willbeason@google.com>
Signed-off-by: Will Beason <willbeason@google.com>
@willbeason willbeason requested review from julianKatz and maxsmythe and removed request for julianKatz December 10, 2021 18:15
@willbeason willbeason self-assigned this Dec 10, 2021
@willbeason willbeason marked this pull request as ready for review December 10, 2021 18:15
Signed-off-by: Will Beason <willbeason@google.com>
Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

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

LGTM

@julianKatz
Copy link
Contributor

ping :) @ritazh @sozercan

Will is going to be out for a bit, so I'll try to get this merged while he's away. Would be annoying for him if the code changes under him while he's out.

@willbeason
Copy link
Member Author

@ritazh ? @sozercan ?

Copy link
Member

@sozercan sozercan left a comment

Choose a reason for hiding this comment

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

Sorry for the delay. LGTM

@willbeason willbeason merged commit 527ad40 into open-policy-agent:master Jan 7, 2022
@willbeason willbeason deleted the no-mocks branch January 7, 2022 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants