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

Integration Test Optimizations #56

Merged
merged 8 commits into from
Feb 1, 2024
Merged

Conversation

peterallenwebb
Copy link
Contributor

resolves #55

Description

Cache static objects between tests to accelerate integration runs.

Checklist

@peterallenwebb peterallenwebb requested a review from a team as a code owner January 31, 2024 20:30
@codecov-commenter
Copy link

codecov-commenter commented Jan 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@9e081a5). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #56   +/-   ##
=======================================
  Coverage        ?   51.00%           
=======================================
  Files           ?       48           
  Lines           ?     2823           
  Branches        ?        0           
=======================================
  Hits            ?     1440           
  Misses          ?     1383           
  Partials        ?        0           
Flag Coverage Δ
unit 51.00% <0.00%> (?)

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

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

return _TEST_CACHING_ENABLED


def enable_test_caching() -> None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we add a disable_test_caching() method?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure.

@peterallenwebb peterallenwebb added this pull request to the merge queue Feb 1, 2024
Merged via the queue into main with commit 06668d1 Feb 1, 2024
7 checks passed
@peterallenwebb peterallenwebb deleted the paw/integration-optimizations branch February 1, 2024 16:05
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.

Integration Test Optimizations
5 participants