|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| formatted-crlf-fixed.md | ||
| formatted-hierarchy-fixed.md | ||
| formatted-qa-fixed.md | ||
| formatted-quotes-fixed.md | ||
| formatted-spacing-fixed.md | ||
| generate-fixtures.js | ||
| proper-crlf-test.md | ||
| story-correctly-formatted.md | ||
| story-formatted-crlf.md | ||
| story-formatted-final.md | ||
| story-with-crlf-issues.md | ||
| story-with-qa-section-issue.md | ||
| story-with-spacing-issues.md | ||
| test-hierarchy.md | ||
| test-smart-quotes.md | ||
| workflow-test-output.md | ||
README.md
Test Fixtures for Markdown Generation Issues
This directory contains test fixtures that simulate the markdown generation problems described in GitHub issue #483.
Fixture Structure
Current Problematic Output Examples
These files demonstrate the exact formatting issues that occur in the current system:
- story-with-crlf-issues.md - Simulates Windows CRLF line ending problems
- story-with-spacing-issues.md - Shows inconsistent whitespace around headings and sections
- story-with-qa-section-issue.md - Reproduces the exact QA Results section problem from the GitHub issue
Expected Correct Output Examples
These files show what the properly formatted output should look like:
- story-correctly-formatted.md - Clean LF line endings, consistent spacing
- story-gfm-compliant.md - Full GFM compliance with proper heading hierarchy
Test Generation Scripts
- generate-fixtures.js - Script that creates problematic markdown using current template system
- validate-fixtures.js - Script that runs detection tests on fixtures
Usage
Run node test/fixtures/generate-fixtures.js to create sample problematic output.
Run node test/fixtures/validate-fixtures.js to test current fixtures against detection rules.