Files
progcode/web/public/assets/editorial/2023/contract-tests-2023-compatibility-matrix.svg
T
huncode 5cbd53d8ec
Build and deploy / deploy (push) Successful in 16s
revise July 2023 contract testing articles
2026-07-31 15:00:15 +03:00

49 lines
5.2 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 720" role="img" aria-labelledby="title desc">
<title id="title">Матрица schema, semantic expectation и provider verification</title>
<desc id="desc">Три синтетических ответа сопоставлены с проверкой формы, ожиданием consumer и неисполненной provider verification.</desc>
<rect width="1200" height="720" rx="32" fill="#111827"/>
<text x="58" y="66" fill="#f9fafb" font-family="Inter, Arial, sans-serif" font-size="33" font-weight="700">Матрица совместимости: форма, смысл, исполненный факт</text>
<text x="58" y="103" fill="#d1d5db" font-family="Inter, Arial, sans-serif" font-size="20">Все ответы ниже синтетические и существуют только для объяснения границы.</text>
<rect x="55" y="148" width="1090" height="78" rx="16" fill="#1f2937"/>
<text x="82" y="194" fill="#e5e7eb" font-family="Inter, Arial, sans-serif" font-size="21" font-weight="700">Ответ</text>
<text x="405" y="194" text-anchor="middle" fill="#e5e7eb" font-family="Inter, Arial, sans-serif" font-size="21" font-weight="700">Schema match</text>
<text x="685" y="194" text-anchor="middle" fill="#e5e7eb" font-family="Inter, Arial, sans-serif" font-size="21" font-weight="700">Consumer meaning</text>
<text x="970" y="194" text-anchor="middle" fill="#e5e7eb" font-family="Inter, Arial, sans-serif" font-size="21" font-weight="700">Provider verification</text>
<rect x="55" y="240" width="1090" height="120" rx="14" fill="#113c36"/>
<text x="82" y="278" fill="#d1fae5" font-family="Inter, Arial, sans-serif" font-size="20" font-weight="700">active + ISO date</text>
<text x="82" y="312" fill="#a7f3d0" font-family="Inter, Arial, sans-serif" font-size="18">renewalAt: 2023-07-19T00:00:00Z</text>
<rect x="330" y="266" width="150" height="56" rx="28" fill="#059669"/>
<text x="405" y="302" text-anchor="middle" fill="#ecfdf5" font-family="Inter, Arial, sans-serif" font-size="20" font-weight="700">PASS</text>
<rect x="610" y="266" width="150" height="56" rx="28" fill="#059669"/>
<text x="685" y="302" text-anchor="middle" fill="#ecfdf5" font-family="Inter, Arial, sans-serif" font-size="20" font-weight="700">PASS</text>
<rect x="842" y="258" width="256" height="72" rx="14" fill="#334155"/>
<text x="970" y="288" text-anchor="middle" fill="#e2e8f0" font-family="Inter, Arial, sans-serif" font-size="18">Нужен реальный запуск</text>
<text x="970" y="313" text-anchor="middle" fill="#cbd5e1" font-family="Inter, Arial, sans-serif" font-size="17">в точном provider state</text>
<rect x="55" y="378" width="1090" height="120" rx="14" fill="#4a2a12"/>
<text x="82" y="416" fill="#fef3c7" font-family="Inter, Arial, sans-serif" font-size="20" font-weight="700">active + null</text>
<text x="82" y="450" fill="#fde68a" font-family="Inter, Arial, sans-serif" font-size="18">форма допускает null, экран — нет</text>
<rect x="330" y="404" width="150" height="56" rx="28" fill="#059669"/>
<text x="405" y="440" text-anchor="middle" fill="#ecfdf5" font-family="Inter, Arial, sans-serif" font-size="20" font-weight="700">PASS</text>
<rect x="610" y="404" width="150" height="56" rx="28" fill="#dc2626"/>
<text x="685" y="440" text-anchor="middle" fill="#fef2f2" font-family="Inter, Arial, sans-serif" font-size="20" font-weight="700">FAIL</text>
<rect x="842" y="396" width="256" height="72" rx="14" fill="#7f1d1d"/>
<text x="970" y="426" text-anchor="middle" fill="#fee2e2" font-family="Inter, Arial, sans-serif" font-size="18">Synthetic fixture:</text>
<text x="970" y="451" text-anchor="middle" fill="#fecaca" font-family="Inter, Arial, sans-serif" font-size="17">verification not-run</text>
<rect x="55" y="516" width="1090" height="120" rx="14" fill="#3f1d2e"/>
<text x="82" y="554" fill="#fce7f3" font-family="Inter, Arial, sans-serif" font-size="20" font-weight="700">state: 7</text>
<text x="82" y="588" fill="#fbcfe8" font-family="Inter, Arial, sans-serif" font-size="18">нарушен enum и тип</text>
<rect x="330" y="542" width="150" height="56" rx="28" fill="#dc2626"/>
<text x="405" y="578" text-anchor="middle" fill="#fef2f2" font-family="Inter, Arial, sans-serif" font-size="20" font-weight="700">FAIL</text>
<rect x="610" y="542" width="150" height="56" rx="28" fill="#64748b"/>
<text x="685" y="578" text-anchor="middle" fill="#f8fafc" font-family="Inter, Arial, sans-serif" font-size="20" font-weight="700">N/A</text>
<rect x="842" y="534" width="256" height="72" rx="14" fill="#334155"/>
<text x="970" y="564" text-anchor="middle" fill="#e2e8f0" font-family="Inter, Arial, sans-serif" font-size="18">Schema FAIL — сначала</text>
<text x="970" y="589" text-anchor="middle" fill="#cbd5e1" font-family="Inter, Arial, sans-serif" font-size="17">исправить форму</text>
<text x="600" y="685" text-anchor="middle" fill="#94a3b8" font-family="Inter, Arial, sans-serif" font-size="18">Зелёная ячейка schema не даёт разрешения на release и не равна provider verification.</text>
</svg>