feat(mcp): add guide_testing endpoint with TestKit bindings reflection#123
Draft
metjuperry wants to merge 1 commit into
Draft
feat(mcp): add guide_testing endpoint with TestKit bindings reflection#123metjuperry wants to merge 1 commit into
metjuperry wants to merge 1 commit into
Conversation
Add a new guide_testing MCP tool that discovers Reqnroll step bindings from TALXIS.TestKit.Bindings via reflection and uses MCP sampling to generate Gherkin scenarios for Power Apps UI testing. - Add NuGet reference to TALXIS.TestKit.Bindings v1.0.10 - Create TestingBindingsCatalog for runtime step discovery - Create testing-workflow internal reasoning skill - Register guide_testing as always-on tool in Program.cs - Wire up skill mapping in GuideReasoningEngine Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
TomProkop
reviewed
May 19, 2026
|
|
||
| // Load UI testing step bindings catalog via reflection | ||
| var testingBindingsCatalog = new TestingBindingsCatalog(); | ||
| testingBindingsCatalog.Load(); |
Member
There was a problem hiding this comment.
Not sure how much performance penalty this is but I don't think we need to load this on MCP server start.
| - guide_deployment: Deployment lifecycle — import/export/pack solutions, manage components, publish. Requires profile. | ||
| - guide_data: LIVE data operations — SQL/FetchXML/OData queries, record CRUD, bulk ops, CMT migration. Requires profile. | ||
| - guide_config: CLI setup — auth credentials, connections, profiles, settings. Required before environment operations. | ||
| - guide_testing: UI test generation — discover available Reqnroll step bindings for Power Apps BDD tests. |
Member
There was a problem hiding this comment.
we should keep this guide general for any type of testing
| } | ||
|
|
||
| // Handles guide_testing calls — uses TestingBindingsCatalog + sampling to recommend step bindings | ||
| async ValueTask<CallToolResult> HandleGuideTestingAsync( |
Member
There was a problem hiding this comment.
this Program.cs is already 1000 LoC. we're breaking single responsibility princeple and we need to decompose it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a new
guide_testingMCP tool that discovers Reqnroll step bindings fromTALXIS.TestKit.Bindingsvia reflection and uses MCP sampling to generate Gherkin scenarios for Power Apps UI testing.Changes
TALXIS.CLI.MCP.csproj— AddedTALXIS.TestKit.Bindingsv1.0.10 NuGet referenceTestingBindingsCatalog.cs— New class that uses reflection to extract all[Given]/[When]/[Then]step bindings, grouped by categorySkills/Internal/testing-workflow.md— Internal reasoning skill with BDD test generation guidanceGuideReasoningEngine.cs— Addedguide_testing→testing-workflowskill mappingProgram.cs— Registered always-on tool, added handler with MCP samplingBehavior