Skip to content

Added harness ci - #630

Open
nmayorsplit wants to merge 12 commits into
masterfrom
development
Open

Added harness ci#630
nmayorsplit wants to merge 12 commits into
masterfrom
development

Conversation

@nmayorsplit

Copy link
Copy Markdown
Contributor

No description provided.

GreyTeardrop and others added 12 commits August 29, 2025 15:02
SplitClientForTest can be useful for unit-testing code that depends on
SplitClient, especially in dynamic scenarios where a static config per
test class won't work. As of now, SplitClientForTest doesn't support
customization of split keys or configs - it always returns the same
treatment for all keys of a feature flag and always returns null as a
split config.

This change extends SplitClientForTest, so it's possible to set
treatments for each feature flag and key, and also possible to set split
config in addition to the treatment name.
Fix compatibility for the SplitClientForTest.tests() method.
Keep it with the old signature, expose new complete mappings via
testMappings() method.
AI-Session-Id: 53746d45-e1a8-4be9-9ae1-7164847af11c
AI-Tool: claude-code
AI-Model: unknown
AI-Session-Id: 53746d45-e1a8-4be9-9ae1-7164847af11c
AI-Tool: claude-code
AI-Model: unknown
Support keys and configs in SplitClientForTest
AI-Session-Id: 53746d45-e1a8-4be9-9ae1-7164847af11c
AI-Tool: claude-code
AI-Model: unknown
AI-Session-Id: 53746d45-e1a8-4be9-9ae1-7164847af11c
AI-Tool: claude-code
AI-Model: unknown
AI-Session-Id: 53746d45-e1a8-4be9-9ae1-7164847af11c
AI-Tool: claude-code
AI-Model: unknown
[FME-17150] Added harness ci
@nmayorsplit
nmayorsplit requested a review from a team as a code owner July 30, 2026 01:49
@sonarqube-pull-requests

Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@gthea
gthea self-requested a review July 30, 2026 13:43
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.

4 participants