openxml-test-fixtures
スター8
フォーク0
更新日2026年3月25日 05:16
Build realistic PPTX fixtures for service and tool tests
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SKILL.md
readonlyメニュー
Build realistic PPTX fixtures for service and tool tests
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
{what this skill teaches agents}
{what this skill teaches agents}
Patterns for exporting PPTX presentations to markdown
Preserve PowerPoint formatting when replacing text in existing shapes
| name | openxml-test-fixtures |
| description | Build realistic PPTX fixtures for service and tool tests |
| domain | testing |
| confidence | high |
| source | issue-6 |
tests/PptxTools.Tests/TestPptxHelper.cs is the shared test-fixture builder for pptx-tools. Use it whenever a test needs a valid presentation with realistic combinations of titles, body placeholders, and images.
TestPptxHelper.CreateMinimalPresentation(...) for single-slide happy-path tests.TestPptxHelper.CreatePresentation(path, slides) with TestSlideDefinition for richer fixtures.TestTextShapeDefinition, using PlaceholderType = PlaceholderValues.Body when you want bullet-like talking-point behavior.IncludeImage = true to validate image-only slides without hand-building picture relationships.TestPptxHelper.CreatePresentation(path,
[
new TestSlideDefinition
{
TitleText = "Launch Plan",
TextShapes =
[
new TestTextShapeDefinition
{
PlaceholderType = PlaceholderValues.Body,
Paragraphs =
[
"Ship the MCP tool",
"Validate output"
]
}
]
},
new TestSlideDefinition
{
IncludeImage = true
}
]);