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

feat: loosen test instance interface to support various test frameworks #317

Merged
merged 2 commits into from
Feb 4, 2025

Conversation

ekarlso
Copy link
Contributor

@ekarlso ekarlso commented Feb 4, 2025

This PR

See slack thread for context - https://cloud-native.slack.com/archives/C06HAN9KP9Q/p1738616572605649

  • adds this new feature

Related Issues

Fixes #1234523

Notes

Follow-up Tasks

How to test

@ekarlso ekarlso requested a review from a team as a code owner February 4, 2025 20:59
@beeme1mr beeme1mr linked an issue Feb 4, 2025 that may be closed by this pull request
@beeme1mr beeme1mr changed the title Use testing.TB for UsingFlags refactor: use testing.TB for UsingFlags in TestProvider Feb 4, 2025
@beeme1mr beeme1mr closed this Feb 4, 2025
@beeme1mr beeme1mr reopened this Feb 4, 2025
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.88%. Comparing base (06e9304) to head (dec5fb2).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #317   +/-   ##
=======================================
  Coverage   86.88%   86.88%           
=======================================
  Files          13       13           
  Lines        1372     1372           
=======================================
  Hits         1192     1192           
  Misses        156      156           
  Partials       24       24           
Flag Coverage Δ
e2e 86.88% <100.00%> (ø)
unit 86.88% <100.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.

@beeme1mr beeme1mr changed the title refactor: use testing.TB for UsingFlags in TestProvider feat: use testing.TB for UsingFlags in TestProvider Feb 4, 2025
@beeme1mr beeme1mr changed the title feat: use testing.TB for UsingFlags in TestProvider feat: loosen test instance interface to support various test frameworks Feb 4, 2025
@beeme1mr beeme1mr merged commit ce4920a into open-feature:main Feb 4, 2025
11 checks passed
ekarlso pushed a commit to ekarlso/go-sdk that referenced this pull request Feb 4, 2025
…ks (open-feature#317)

Switch to `interface{ Name() string }` since testing.BB has `private` which blocks it from working.

Signed-off-by: ekarlso <[email protected]>
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.

[FEATURE] Support for Ginkgo GinkgoT()
3 participants