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

Use crosstestimpl.T in PF Configure cross-test #2583

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iwahbe
Copy link
Member

@iwahbe iwahbe commented Nov 4, 2024

Standardizing on crosstestimpl.T:

  1. Unifies the API across cross-tests
  2. Makes it possible to use Configure in rapid tests
  3. Simplifies the implementation of cross-tests

I had intended to do this for a little while, #2578 reminded me. Sorry for the additional disruption.

Standardizing on `crosstestimpl.T`:

1. Unifies the API across cross-tests
2. Makes it possible to use `Configure` in rapid tests
3. Simplifies the implementation of cross-tests
@iwahbe iwahbe requested review from VenelinMartinov and a team November 4, 2024 13:33
@iwahbe iwahbe self-assigned this Nov 4, 2024
Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.84%. Comparing base (58f0b33) to head (843c655).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2583   +/-   ##
=======================================
  Coverage   62.83%   62.84%           
=======================================
  Files         385      385           
  Lines       51653    51644    -9     
=======================================
- Hits        32456    32454    -2     
+ Misses      17373    17370    -3     
+ Partials     1824     1820    -4     

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

Copy link
Member

@t0yv0 t0yv0 left a comment

Choose a reason for hiding this comment

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

This is the way.

VenelinMartinov added a commit that referenced this pull request Nov 5, 2024
Redoing #2583 on
top of the existing PR stack in the area.
The `crosstestimpl.T` interface is compatible with both `testing.T` and
`rapid.T`, allowing us to use cross-tests in rapid property-based tests.
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.

3 participants