mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-06 19:50:20 +03:00
feat: deepen skill test coverage — 52 → 247 cases across all 43 skills
Add 195 new test cases covering examples from SKILL.md, edge cases, and parameter combinations. Create _skill.json for form-edit, skd-edit, subsystem-edit. Add fixtures for negative validate cases. Fix normalizeUuids in meta-validate/meta-info configs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
d6d44b8b35
commit
a1b3fdd4e2
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"name": "Макет с разными стилями — шрифты, границы, выравнивание",
|
||||
"input": {
|
||||
"columns": 5,
|
||||
"defaultWidth": 25,
|
||||
"fonts": {
|
||||
"default": { "face": "Arial", "size": 10 },
|
||||
"bold": { "face": "Arial", "size": 10, "bold": true },
|
||||
"italic": { "face": "Arial", "size": 10, "italic": true },
|
||||
"header": { "face": "Times New Roman", "size": 14, "bold": true },
|
||||
"small": { "face": "Arial", "size": 8 },
|
||||
"underlined": { "face": "Arial", "size": 10, "underline": true }
|
||||
},
|
||||
"styles": {
|
||||
"header-center": { "font": "header", "align": "center" },
|
||||
"bold-left": { "font": "bold", "border": "bottom" },
|
||||
"italic-right": { "font": "italic", "align": "right" },
|
||||
"bordered": { "border": "all" },
|
||||
"bordered-center": { "border": "all", "align": "center" },
|
||||
"bordered-right": { "border": "all", "align": "right" },
|
||||
"thick-border": { "border": "all", "borderWidth": "thick", "font": "bold" },
|
||||
"top-bottom": { "border": "top,bottom" },
|
||||
"small-note": { "font": "small", "align": "center" },
|
||||
"underlined-left": { "font": "underlined" },
|
||||
"wrap-cell": { "border": "all", "wrap": true }
|
||||
},
|
||||
"areas": [
|
||||
{
|
||||
"name": "Заголовок",
|
||||
"rows": [
|
||||
{ "height": 25, "cells": [
|
||||
{ "col": 1, "span": 5, "style": "header-center", "text": "НАКЛАДНАЯ" }
|
||||
]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Подпись",
|
||||
"rows": [
|
||||
{ "cells": [
|
||||
{ "col": 1, "span": 2, "style": "bold-left", "text": "Поставщик:" },
|
||||
{ "col": 3, "span": 3, "style": "underlined-left", "param": "Поставщик" }
|
||||
]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ШапкаТаблицы",
|
||||
"rows": [
|
||||
{ "rowStyle": "thick-border", "cells": [
|
||||
{ "col": 1, "text": "№" },
|
||||
{ "col": 2, "text": "Товар" },
|
||||
{ "col": 3, "text": "Кол-во" },
|
||||
{ "col": 4, "text": "Цена" },
|
||||
{ "col": 5, "text": "Сумма" }
|
||||
]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Строка",
|
||||
"rows": [
|
||||
{ "rowStyle": "bordered", "cells": [
|
||||
{ "col": 1, "style": "bordered-center", "param": "НомерСтроки" },
|
||||
{ "col": 2, "style": "wrap-cell", "param": "Товар" },
|
||||
{ "col": 3, "style": "bordered-right", "param": "Количество" },
|
||||
{ "col": 4, "style": "bordered-right", "param": "Цена" },
|
||||
{ "col": 5, "style": "bordered-right", "param": "Сумма" }
|
||||
]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Итого",
|
||||
"rows": [
|
||||
{ "cells": [
|
||||
{ "col": 4, "style": "top-bottom", "text": "Итого:" },
|
||||
{ "col": 5, "style": "top-bottom", "param": "Всего" }
|
||||
]}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Примечание",
|
||||
"rows": [
|
||||
{ "cells": [
|
||||
{ "col": 1, "span": 5, "style": "small-note", "text": "* Цены указаны без НДС" }
|
||||
]}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"params": { "outputPath": "Template.xml" },
|
||||
"expect": {
|
||||
"files": ["Template.xml"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user