edt-mcp-testing
/edt-mcp-testing
Opisuje, jak testować ręcznie każde narzędzie serwera EDT-MCP w działającym środowisku EDT, z przykładowym wywołaniem i oczekiwanym wynikiem.
- Autor
- infostart-hub ↗
- Repozytorium
- edt-mcp-aiadopted ↗
- Licencja
- AGPL-3.0
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 65
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.
AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.
Co robi i kiedy
Opisuje, jak testować ręcznie każde narzędzie serwera EDT-MCP w działającym środowisku EDT, z przykładowym wywołaniem i oczekiwanym wynikiem.
Oryginalny opis (EN)
How to manually e2e-test each EDT-MCP server tool against a live EDT workbench + TestConfiguration. One reference per tool under references/<family>/, each with the exact MCP call, the real expected result, and gotchas. Use when validating an MCP tool end-to-end by actually calling it (for build/unit tests see edt-mcp-build-test).
Jak działa
- Structure
- Test bench (harness)
- How to add a tool reference
- Index — debug (references/debug/)
- Index — navigation / read (references/navigation/)
- Index — metadata-read (references/metadata-read/)
- Index — query / problems / misc (read-only)
- Index — profiling / forms / xml / translation / launch / metadata-write
Podgląd SKILL.md
---
name: edt-mcp-testing
description: How to manually e2e-test each EDT-MCP server tool against a live EDT workbench + TestConfiguration. One reference per tool under references/<family>/, each with the exact MCP call, the real expected result, and gotchas. Use when validating an MCP tool end-to-end by actually calling it (for build/unit tests see edt-mcp-build-test).
---
# EDT-MCP — manual e2e testing of tools
How to **run each MCP tool live against a working EDT** and confirm it actually works (not just compiles / passes a unit test). Build and unit tests are in `edt-mcp-build-test`; this is live e2e through real MCP calls. (The automated black-box suite is `edt-mcp-e2e-testing`.)
## Structure
- `references/<family>/<tool>.md` — **one reference per tool**: purpose, exact call, expected result, gotchas.
- `references/<family>/SETUP.md` — shared family preconditions (what the family's tools can't be tested without).
## Test bench (harness)
- **Owned EDT stand**: record exact product/JVM versions, installation, workspace, port, process identity and component hash. Discover paths locally; never assume another installation is production or task-owned. Use native p2 installation for qualification. A nonzero install/deploy exit remains a failure; an open port alone never proves the selected bundle loaded.
- **Fixture data**: select a separate disposable Git repository through `MCP_FIXTURE_REPO`, with the exact committed fixture tree, root attributes/ignore policy and platform checkout filters. Never revert the primary source checkout. Use the shared harness reset/model-settle protocol from `tests/e2e/SKILL.md`.
- **Workflow**: edit, build and test, deploy the exact committed component, restart the recorded owned process, prove loaded bundle origin and ready model, run live calls, inspect disk/model evidence, then perform checked fixture cleanup.
- **Observed output**: JSON-response tools carry data in `structuredContent`; a text digest alone is insufficient. On a transport or operation failure preserve the raw response and owned workspace log, reconcile the authoritative outcome, and report the failure. Never convert a failed deployment into success because another server answers the port.
## How to add a tool reference
1. Run the tool **live** with real arguments on `TestConfiguration`.
2. Record the **exact call + actual output + gotchas** in `references/<family>/<tool>.md`.
3. Link the family `SETUP.md`.
4. If the run needs a base mutation — document it and the revert.
## Index — debug (`references/debug/`)
- [SETUP](references/debug/SETUP.md) — bring up a debuggable scenario (executable code + trigger + stop).
- Configs/launch: `list_configurations`, `launch`, `debug_status`, `terminate_launch`.
- Breakpoints: `set_breakpoint`, `list_breakpoints`, `remove_breakpoint`.
- Break and inspect: `wait_for_break`, `get_variables`, `evaluate_expression`, `step`, `resume`.
> Full debug flow: set_breakpoint → launch(update) → wait_for_break(hit) → get_variables → step over → get_variables → evaluate_expression → resume → remove_breakpoint. Details per tool in its reference.
## Index — navigation / read (`references/navigation/`)
Read-only navigation and read tools, each with a real live call on `TestConfiguration`.
- [SETUP](references/navigation/SETUP.md) — project ready (not `building`), BSL index built, modulePath addressing, UI-thread tools.
- Workspace/listing: [list_projects](references/navigation/list_projects.md), [list_modules](references/navigation/list_modules.md).
- Source: [read_module_source](references/navigation/read_module_source.md), [read_method_source](references/navigation/read_method_source.md), [get_module_structure](references/navigation/get_module_structure.md).
- AST/refs: [go_to_definition](references/navigation/go_to_definition.md), [find_references](references/navigation/find_references.md), [get_method_call_hierarchy](references/navigation/get_method_call_hierarchy.md), [get_symbol_info](references/navigation/get_symbol_info.md), [get_content_assist](references/navigation/get_content_assist.md).
## Index — metadata-read (`references/metadata-read/`)
Read-only reading of the configuration model (objects, details, properties, subsystems, tags). Each with a real live call on `TestConfiguration`.
- Objects: [get_metadata_objects](references/metadata-read/get_metadata_objects.md), [get_metadata_details](references/metadata-read/get_metadata_details.md).
- Configuration: [get_configuration_properties](references/metadata-read/get_configuration_properties.md) (YAML).
- Subsystems: [list_subsystems](references/metadata-read/list_subsystems.md), [get_subsystem_content](references/metadata-read/get_subsystem_content.md).
- Tags: [get_tags](references/metadata-read/get_tags.md), [get_objects_by_tags](references/metadata-read/get_objects_by_tags.md).
## Index — query / problems / misc (read-only)
- **query** (`references/query/`): [validate_query](references/query/validate_query.md) (text or saved-module/method mode; per-query verdicts, mapped module locations and explicit skips).
- **problems** (`references/problems/`): [get_project_errors](references/problems/get_project_errors.md), [get_problem_summary](references/problems/get_problem_summary.md), [get_check_description](references/problems/get_check_description.md) (reads `<checkId>.md` from a configurable folder; the feature is OFF by default; checkId is sanitized — dotted codes don't resolve).
- **history**: [get_mcp_history](references/misc/get_mcp_history.md) — full-response status before body capping, stable background outcomes, malformed-name checks and manual interrupt-slot overlap.
- **misc** (`references/misc/`): [get_edt_version](references/misc/get_edt_version.md) (TEXT, liveness probe), [get_platform_documentation](references/misc/get_platform_documentation.md), [get_markers](references/misc/get_markers.md), [get_applications](references/misc/get_applications.md).
## Index — profiling / forms / xml / translation / launch / metadata-write
Families with write/destructive/special setup. For mutating/destructive tools the docs describe the **test procedure from source** (mutate-then-revert / preview-then-confirm), without live destruction.
- **profiling** (`references/profiling/`): [start_profiling](references/profiling/start_profiling.md) (idempotent start; stop with `stop_profiling`; use the live debug-session applicationId), [get_profiling_results](references/profiling/get_profiling_results.md) (read-only; returns only the most recent measurement session).
- **forms** (`references/forms/`): [get_form_screenshot](references/forms/get_form_screenshot.md), [get_form_layout_snapshot](references/forms/get_form_layout_snapshot.md) — need the JVM flag `-DnativeFormBufferedLayoutRender=true`; blank ≠ a bug; native vs buffered render.
- **xml** (`references/xml/`): [export_configuration_to_xml](references/xml/export_configuration_to_xml.md), [import_configuration_from_xml](references/xml/import_configuration_from_xml.md) (MUTATES → revert).
- **translation** (`references/translation/`): [get_translation_project_info](references/translation/get_translation_project_info.md) (read-only), [generate_translation_strings](references/translation/generate_translation_strings.md), [translate_configuration](references/translation/translate_configuration.md) (MUTATES + external providers).
- **launch** (`references/launch/`): [update_database](references/launch/update_database.md) (DESTRUCTIVE, exclusive infobase access), [run_yaxunit_tests](references/launch/run_yaxunit_tests.md), [debug_yaxunit_tests](references/launch/debug_yaxunit_tests.md).
- **DCS**: [dcs](references/metadata-write/dcs.md) — empty templates, synchronous auto-fill, value forms, dictionaries and immediate on-disk export checks.
- **infobases** (`references/infobases/`): [SETUP](references/infobases/SETUP.md) (explicit defaults and RuntimeClient read-back), [create_infobase](references/infobases/create_infobase.md), [set_infobase_credentials](references/infobases/set_infobase_credentials.md), [delete_infobase](references/infobases/delete_infobase.md). Use disposable targets; global deregistration affects all projects sharing its UUID.
- **metadata-write** (`references/metadata-write/`): [create_metadata](references/metadata-write/create_metadata.md) (FQN-addressed, optional insertPosition), [sort_metadata](references/metadata-write/sort_metadata.md) (observed order, autosort policy, manual moves), [modify_metadata](references/metadata-write/modify_metadata.md) (set properties=[{name,value,language?}] by FQN), [write_module_source](references/metadata-write/write_module_source.md) (mutate→verify→revert), [rename_metadata_object](references/metadata-write/rename_metadata_object.md), [delete_metadata](references/metadata-write/delete_metadata.md) (FQN-addressed; CASCADE; preview→confirm→revert; explicit-request-only), [adopt_metadata_object](references/metadata-write/adopt_metadata_object.md) (adopt a base object/member into an extension; MUTATES→revert).
> **Coverage:** use the production registry for the full tool set. These references define setup and acceptance procedures; verify writers through both the model and the exported files.
Pliki w paczce (65)
- SKILL.md 9 KB
- references/debug/SETUP.md 3 KB
- references/debug/debug_status.md 1 KB
- references/debug/evaluate_expression.md 1 KB
- references/debug/get_variables.md 1 KB
- references/debug/launch.md 2 KB
- references/debug/list_breakpoints.md 1 KB
- references/debug/list_configurations.md 2 KB
- references/debug/remove_breakpoint.md 1 KB
- references/debug/resume.md 1 KB
- references/debug/set_breakpoint.md 1 KB
- references/debug/step.md 1 KB
- references/debug/terminate_launch.md 1 KB
- references/debug/wait_for_break.md 1 KB
- references/forms/get_form_layout_snapshot.md 11 KB
- references/forms/get_form_screenshot.md 10 KB
- references/infobases/SETUP.md 2 KB
- references/infobases/create_infobase.md 1 KB
- references/infobases/delete_infobase.md 1 KB
- references/infobases/set_infobase_credentials.md 1 KB
- references/launch/debug_yaxunit_tests.md 4 KB
- references/launch/run_yaxunit_tests.md 15 KB
- references/launch/update_database.md 13 KB
- references/metadata-read/get_configuration_properties.md 6 KB
- references/metadata-read/get_metadata_details.md 7 KB
- references/metadata-read/get_metadata_objects.md 7 KB
- references/metadata-read/get_objects_by_tags.md 5 KB
- references/metadata-read/get_subsystem_content.md 9 KB
- references/metadata-read/get_tags.md 5 KB
- references/metadata-read/list_subsystems.md 6 KB
- references/metadata-write/adopt_metadata_object.md 5 KB
- references/metadata-write/create_metadata.md 4 KB
- references/metadata-write/dcs.md 3 KB
- references/metadata-write/delete_metadata.md 14 KB
- references/metadata-write/modify_metadata.md 14 KB
- references/metadata-write/rename_metadata_object.md 20 KB
- references/metadata-write/sort_metadata.md 3 KB
- references/metadata-write/write_module_source.md 12 KB
- references/misc/get_applications.md 7 KB
- references/misc/get_edt_version.md 4 KB
- references/misc/get_markers.md 6 KB
- references/misc/get_mcp_history.md 2 KB
- references/misc/get_platform_documentation.md 8 KB
- references/navigation/SETUP.md 3 KB
- references/navigation/find_references.md 5 KB
- references/navigation/get_content_assist.md 5 KB
- references/navigation/get_method_call_hierarchy.md 5 KB
- references/navigation/get_module_structure.md 5 KB
- references/navigation/get_symbol_info.md 5 KB
- references/navigation/go_to_definition.md 5 KB
- references/navigation/list_modules.md 5 KB
- references/navigation/list_projects.md 5 KB
- references/navigation/read_method_source.md 5 KB
- references/navigation/read_module_source.md 4 KB
- references/problems/get_check_description.md 6 KB
- references/problems/get_problem_summary.md 6 KB
- references/problems/get_project_errors.md 8 KB
- references/profiling/get_profiling_results.md 8 KB
- references/profiling/start_profiling.md 2 KB
- references/query/validate_query.md 3 KB
- references/translation/generate_translation_strings.md 12 KB
- references/translation/get_translation_project_info.md 7 KB
- references/translation/translate_configuration.md 10 KB
- references/xml/export_configuration_to_xml.md 2 KB
- references/xml/import_configuration_from_xml.md 11 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · infostart-hub/edt-mcp-aiadopted | 90 | AGPL-3.0 |
| ditrixnew/edt-mcp | 88 | AGPL-3.0 |
Migawka bazy z 13.11.2026 · wersja paczki 58890bf06b3c (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100edt-mcp-e2e-testing
Opisuje, jak pisać i uruchamiać zautomatyzowany zestaw testów black-box e2e, który obejmuje każde narzędzie EDT-MCP na żywym serwerze. - 100edt-mcp-yaxunit
Pomaga pisać i uruchamiać testy jednostkowe YAXUnit dla konfiguracji 1C przez 1C:EDT i narzędzia EDT-MCP, z modułami ИсполняемыеСценарии i asercjami ЮТест. - 100edt-mcp-e2e-testing
Prowadzi pisanie i uruchamianie zautomatyzowanych testów e2e black-box dla narzędzi EDT-MCP na żywym serwerze, z izolacją fixture w git i pokryciem przypadków negatywnych. - 100edt-mcp-new-tool
Prowadzi przez checklistę dodawania nowego narzędzia MCP do wtyczki EDT-MCP, obejmującą interfejs, schemat, rejestrację, testy i wdrożenie. - 96add-tool
Dodaje narzędzie do serwera MCP wraz ze schematami zod, opisem dla modelu, obsługą błędów i testami przez prawdziwego klienta MCP. - 100run-e2e-tests
Uruchamia testy integracyjne end-to-end serwera MCP CodeScene na prawdziwym CLI i infrastrukturze serwera.