Skip to content

mock REST API calls in tests #21

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 5 commits into from
Aug 26, 2024
Merged

mock REST API calls in tests #21

merged 5 commits into from
Aug 26, 2024

Conversation

2bndy5
Copy link
Collaborator

@2bndy5 2bndy5 commented Aug 26, 2024

resolves #18
resolves #11

Copy link

codecov bot commented Aug 26, 2024

Codecov Report

Attention: Patch coverage is 93.89920% with 23 lines in your changes missing coverage. Please review.

Project coverage is 97.28%. Comparing base (11ead4e) to head (8d2593d).
Report is 2 commits behind head on main.

Files Patch % Lines
cpp-linter-lib/src/rest_api/github_api.rs 95.07% 10 Missing ⚠️
cpp-linter-lib/src/rest_api/mod.rs 93.79% 8 Missing ⚠️
cpp-linter-lib/src/clang_tools/clang_tidy.rs 82.75% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   87.66%   97.28%   +9.61%     
==========================================
  Files          12       13       +1     
  Lines        2230     2431     +201     
==========================================
+ Hits         1955     2365     +410     
+ Misses        275       66     -209     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@2bndy5 2bndy5 marked this pull request as ready for review August 26, 2024 17:05
fix test CI cache-deps jobs' runner OS
@2bndy5 2bndy5 merged commit 634d80d into main Aug 26, 2024
60 checks passed
@2bndy5 2bndy5 deleted the mock-rest-api branch August 26, 2024 23:25
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.

respect REST API rate limits use REST API mocks in tests
1 participant