1c-test-runner

Automates writing and executing server-side unit tests for 1C business logic.

151|20|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/Arman-Kudaibergenov/1c-ai-development-kit --skill 1c-test-runner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 1c-test-runner
Source: https://github.com/Arman-Kudaibergenov/1c-ai-development-kit/tree/main/.claude/skills/1c-test-runner
Command: npx skills add https://github.com/Arman-Kudaibergenov/1c-ai-development-kit --skill 1c-test-runner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the manual effort of preparing, loading, and running unit tests for 1C business logic, so you can verify correctness after changes.

Core Features & Use Cases

  • AI-driven test data creation: generates catalog/doc records via the 1c-ai-debug MCP CRUD flow.
  • CommonModule _Test test authoring: creates server-side tests in CommonModules with the *_Test suffix.
  • Automated test execution and reporting: runs run_unit_tests and returns structured JSON results without UI artifacts.

Use case: After implementing a new business rule in a server module, generate a minimal dataset, load the corresponding *_Test module, run the unit tests for that module, and clean up created objects to keep the environment stable.

Quick Start

Ask the AI: “Write and run unit tests for my 1C business logic, using 1c-ai-debug MCP and returning the JSON result.”

Frequently Asked Questions about 1c-test-runner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate 1C unit testing for server-side business logic?

Automate 1C unit testing by using AI to generate *_Test CommonModules and executing them via the 1c-ai-debug MCP run_unit_tests step. This workflow handles test authoring, execution, and structured JSON reporting without manual UI interaction.

What is the best way to prepare test data for 1C unit tests?

Prepare 1C test data using AI-driven CRUD flows to generate catalog and document records. The workflow then applies db-load-xml and db-update steps to load modules and data into the 1C database before running server-side tests.

Can I run 1C unit tests without UI testing artifacts?

Yes, you can run 1C unit tests without UI artifacts by executing server-side tests through the 1c-ai-debug MCP. The process specifically avoids UI testing and returns structured JSON results directly from the run_unit_tests execution.

Does 1C automated testing require manual cleanup of created objects?

No, 1C automated testing enforces automatic cleanup of created objects. The workflow manages test data preparation and execution while ensuring the environment remains stable by automatically removing generated catalog and document records after tests finish.

How do I verify 1C business logic changes end-to-end?

Verify 1C business logic changes end-to-end by generating a minimal dataset, loading the corresponding *_Test module into the database, and running unit tests. The AI workflow returns structured JSON results to confirm correctness after your modifications.

What are the limitations of automated 1C unit test execution?

Automated 1C unit test execution is limited to server-side business logic in CommonModules and does not support UI testing. It requires the 1c-ai-debug MCP for CRUD data preparation, module loading, and run_unit_tests execution to function properly.