convertor/tests/e2e/fixtures
Your Name e327345ad7 feat: add comprehensive E2E tests with Docker workflow
- Add comprehensive.e2e.test.ts: Full E2E tests covering 25+ converters
- Add format-matrix.e2e.test.ts: Format conversion matrix (70,000+ combinations)
- Add translation.e2e.test.ts: Multi-language translation tests (14 languages)
- Add docker-e2e-tests.yml: GitHub Actions workflow for Docker E2E tests
- Update run-bun-test.yml: Improved basic test workflow
- Add run-e2e-tests.sh: Local test runner script
- Add test scripts to package.json

Tests cover:
- Image formats (Inkscape, ImageMagick, Potrace, etc.)
- Document formats (Pandoc, LibreOffice, Calibre)
- Data formats (Dasel: JSON/YAML/TOML/XML/CSV)
- Translation (PDFMathTranslate, BabelDOC)
- Edge cases (Unicode, long content, special characters)
2026-01-23 12:20:52 +08:00
..
README.json feat: add comprehensive E2E tests with Docker workflow 2026-01-23 12:20:52 +08:00
sample.tex feat: add comprehensive E2E tests with Docker workflow 2026-01-23 12:20:52 +08:00
test.json test(e2e): add End-to-End test suite 2026-01-23 00:14:31 +08:00
test.md fix: format E2E tests and add helpers to knip ignore 2026-01-23 00:26:11 +08:00
test.svg test(e2e): add End-to-End test suite 2026-01-23 00:14:31 +08:00

{
  "name": "E2E Test Configuration",
  "fixtures": {
    "pdf": "sample.pdf (需要手動創建或從其他地方複製)",
    "svg": "test.svg",
    "markdown": "test.md",
    "json": "test.json"
  },
  "notes": [
    "sample.pdf 需要是一個包含英文文字的有效 PDF 檔案",
    "翻譯測試需要網路連接和有效的翻譯 API 金鑰",
    "某些測試需要 Docker 環境或完整安裝的轉換工具"
  ],
  "translationApiKeys": {
    "required": [
      "OPENAI_API_KEY (for OpenAI translation)",
      "GOOGLE_API_KEY (for Google translation)",
      "DEEPL_API_KEY (for DeepL translation)"
    ],
    "setVia": "Environment variables or .env file"
  }
}