open-feature / open-feature/php-sdk

[FEATURE] Update flagd-testbed (test-harness)

Open
#134 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Needs Triage
Dominant language
PHP
Stars
43
Forks
14
Avg merge
4d 12h
Merged PRs (30d)
4

Description

Requirements

Currently, the integration tests are running on an 1.5 year-old version of the flagd-testbed.

Since then the OpenFeature Test Harness repo has been moved to a different flagd-testbed repository, but integration tests have not been updated here.

The latest flagd-testbed offers support for recent versions of flagd (currently v.0.11.3), whilst here we are stuck testing with flagd v.0.4.1. The newer versions patched a variety of issues, some of which are not caught by the current openfeature/php-sdk integration tests (e.g.: missing "value" key in the evaluation response when using string targetingKey instead of key-value Attributes -> here).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the integration/ tests and compare their test-harness reference with the current flagd-testbed repository. Update the integration-test setup to use the newer testbed supporting flagd v0.11.3, then run the integration tests and verify they pass against the current evaluation responses.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.