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: Add new test suite for context merging #293

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

Conversation

chrfwow
Copy link
Contributor

@chrfwow chrfwow commented Feb 6, 2025

This PR

Adds gherkin tests to verify the merging order of contexts: https://openfeature.dev/specification/sections/evaluation-context/#requirement-323

See open-feature/flagd-testbed#13

Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
@chrfwow chrfwow requested a review from toddbaert as a code owner February 6, 2025 13:25
| Before Hooks |

Scenario: A context entry is added to each level with different keys
Given A context entry with key "API" and value "API value" is added to the "API" level
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you prefer the same line with different values each time, or a data table for the Given and Then parts of this scenario?

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.

1 participant