Skip to content

feat: loosen test instance interface to support various test frameworks #316 #319

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
May 15, 2025

Conversation

ekarlso
Copy link
Contributor

@ekarlso ekarlso commented Feb 4, 2025

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

This PR

Use interface instead of testing.BB since it has private() that blocks use.

Related Issues

Fixes #316

Notes

Follow-up Tasks

How to test

ekarlso added 2 commits February 4, 2025 22:04
Signed-off-by: ekarlso <endre.karlson@xait.com>
…ks (open-feature#317)

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

Signed-off-by: ekarlso <endre.karlson@xait.com>
@ekarlso ekarlso requested a review from a team as a code owner February 4, 2025 22:32
@ekarlso ekarlso changed the title feat: loosen test instance interface to support various test frameworks #317 feat: loosen test instance interface to support various test frameworks #316 Feb 4, 2025
Copy link
Member

@thomaspoignant thomaspoignant left a comment

Choose a reason for hiding this comment

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

This looks good to me, my only small concern is that it is not obvious anymore what is the type of test, this is why I think we can name this type as proposed in the comment.

Co-authored-by: Thomas Poignant <thomas.poignant@gmail.com>
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
@beeme1mr beeme1mr requested a review from a team as a code owner May 15, 2025 17:08
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Copy link

codecov bot commented May 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.13%. Comparing base (0bdbe12) to head (c9b60b4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #319   +/-   ##
=======================================
  Coverage   88.13%   88.13%           
=======================================
  Files          14       14           
  Lines        1408     1408           
=======================================
  Hits         1241     1241           
  Misses        143      143           
  Partials       24       24           
Flag Coverage Δ
e2e 88.13% <100.00%> (ø)
unit 88.13% <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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@beeme1mr beeme1mr merged commit 344cd39 into open-feature:main May 15, 2025
6 checks passed
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()
4 participants