astrizhachuk GitHub avatar

yaxunit-test-writer

astrizhachuk

A skill for AI agents that automates writing unit tests for 1C:Enterprise configurations using the YAxUnit framework.

Stars

16

7-day growth

No data

Forks

1

Open issues

0

License

MIT

Last updated

2026-07-24

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It fills a specific niche by enabling AI agents to generate YAxUnit tests for 1C:Enterprise, covering the full test lifecycle from module creation to dependency isolation, and integrates with multiple agent environments via the skills CLI.

Who it is for

  • 1C:Enterprise developers
  • QA engineers working with 1C configurations
  • AI agent users (Claude Code, Cursor, etc.)
  • Teams adopting YAxUnit for unit testing

Use cases

  • Automatically generate unit tests for existing 1C configuration modules
  • Add test coverage to 1C projects that follow the bootstrap-1c directory structure
  • Use within AI coding agents to produce tests on demand via natural language triggers
  • Standardize test creation process across a development team

Strengths

  • Handles the complete test-writing pipeline: module registration, test design, given/when/then, and isolation with Mocks
  • Works with multiple popular AI agents (Claude Code, Cursor, Codex, Windsurf, Cline) via the skills CLI
  • Leverages a dedicated MCP server for accurate platform method signatures
  • Includes XML metadata templates for the 8.3.16 platform version

Considerations

  • Assumes the project uses a specific directory layout from the `bootstrap-1c` template and hardcodes the test extension name as `Тесты`
  • Only provides XML templates for platform version 8.3.16; other versions require manual addition
  • Requires the MCP server `mcp-bsl-platform-context` to be configured under the name `1c-platform`

README quick start

yaxunit-test-writer

Skill для ИИ-агентов, устанавливаемый через skills CLI, для написания юнит-тестов конфигураций 1С:Предприятие на фреймворке YAxUnit.

Скилл проводит агента через весь цикл написания теста: подготовка тестового модуля и его регистрация в Configuration.xml, проектирование тестов (типы, именование), реализация given/when/then, изоляция зависимостей через Мокито, организация тестовых наборов и тегов. Триггерится на фразы вида «напиши тест», «покрой тестами», «яксюнит».

Установка

Устанавливается под любого поддерживаемого skills агента (Claude Code, Cursor, Codex, Windsurf, Cline и др.) — флагом -a указывается целевой агент, ниже пример для Claude Code. astrizhachuk/yaxunit-test-writer — это форма owner/repo, skills понимает её как сокращение для GitHub-репозитория https://github.com/astrizhachuk/yaxunit-test-writer и клонирует его:

skills add astrizhachuk/yaxunit-test-writer -a claude-code -y

Под другого агента — замените claude-code на нужное имя (cursor, codex, windsurf, ...), либо -a '*', чтобы установить сразу во все обнаруженные агенты:

skills add astrizhachuk/yaxunit-test-writer -a '*' -y

Глобально (для всех проектов):

skills add astrizhachuk/yaxunit-test-writer -a claude-code -g -y

Поле argument-hint в frontmatter SKILL.md — специфика Claude Code (аргумент slash-команды); другие агенты его игнорируют, остальной текст скилла агенто-нейтрален.

Обновление

skills update

Обновляет все скиллы, установленные через skills add, включая этот.

Структура репозитория

Содержимое скилла (SKILL.md, references/, templates/) лежит в подпапке yaxunit-test-writer/, а не в корне репозитория — это обходит баг установщика skills, из-за которого SKILL.md в корне репозитория триггерит режим установки, копирующий только сам файл SKILL.md без сопутствующих файлов. На команду установки (skills add astrizhachuk/yaxunit-test-writer) это не влияет.

Requirements / Assumptions

Скилл рассчитан на проекты 1С, созданные из шаблона astrizhachuk/bootstrap-1c, и полагается на его раскладку каталогов:

  • src/ — исходный код конфигурации;
  • test/ — расширение с тестами, test/CommonModules/ — тестовые модули, `test/Configuratio

Description

Skill для написания юнит-тестов на фреймворке YAxUnit

Related repositories

Similar projects matched by category, topics, and programming language.

MoonshotAI
Featured
MoonshotAI GitHub avatar

Kimi-K3

Kimi K3 is an open-weight, 2.8T-parameter native multimodal agentic model with a 1M-token context window, designed for frontier coding, knowledge work, and reasoning tasks.

AI & Machine LearningAI Agents
3,348
xuchonglang
Featured
xuchonglang GitHub avatar

investing-for-beginners

A structured investing guide for Chinese beginners covering US stocks, options, and cryptocurrency, with focus on foundational concepts and risk awareness.

Blockchain & Web3
2,739
Krishnagangwal
Featured
Krishnagangwal GitHub avatar

CS-Fundamentals

A curated collection of Computer Science fundamentals (PDFs, notes, cheatsheets, interview question banks) for placement preparation, covering seven core subjects plus general resources.

Data & DatabasesDatabases & Storage
2,326