المنسقات والكود
عارض اختبارات اللقطات
Side-by-side diff for any two snapshot strings.
Runs in your browser
Diff+3-2
- <div class="card">- <h2>Old title</h2>+ <div class="card highlighted">+ <h2>New title</h2><p>First paragraph.</p>+ <p>Plus a fresh line.</p></div>
ملاحظة المحرر
Understanding · Capture the output, diff on every run.
هذا الفصل المعمّق متاح حاليًا باللغة الإنجليزية فقط. أداة التحويل أعلاه تعمل بلغتك؛ أما المقال التفصيلي الطويل فلم تتم ترجمته بعد.
الأسئلة المتكررة
Quick answers.
›What format should the snapshots be in?
The tool accepts plain text, JSON, or serialised markup commonly produced by testing frameworks like Jest or Vitest.
›Is my test data safe?
Yes. The diffing logic runs locally in your browser memory and no snapshot content is uploaded to any server.
›How does the side-by-side diff work?
The tool calculates line-level changes and highlights additions in green and removals in red across two distinct panels.
›Can I use this for non-test files?
Whilst designed for snapshot testing output, the tool functions as a general-purpose text diffing utility for any two strings.
يبحث الأشخاص أيضًا عن
أدوات ذات صلة
More in this room.
- مولد حالات اختبار Jestهيكل كتل describe/it من اسم مكون أو دالة.
- مولد اختبارات Playwright / Cypressقالب اختبار E2E لأي من الإطارين.
- مولد عقود Pactمواصفات عقود المستهلك + المزود.
- مشغل اختبارات إمكانية الوصول (axe-core)مجموعة قواعد axe-core كاملة مقابل HTML ملصق.
- محول JSON إلى XMLتحويل JSON إلى XML نظيف ومٌشكل جيدًا.
- منسق ومدقق JSONتجميل وتصغير وتدقيق JSON — مجاني، بدون تسجيل.