تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

ts4

بواسطة kleberbaum

Web & Frontend Development
398التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

TS4 namespace for Netsnek e.U.

الوصف

ما الذي تفعله هذه المهارة

TS4 is the Netsnek e.U. TypeScript testing framework. It combines unit testing, snapshot testing, coverage reporting, and mutation testing under a single CLI tool.

Combining unit, snapshot, coverage, and mutation testing in one CLI eliminates the need to configure and coordinate multiple separate testing tools.

متى تستخدمها

  • Running a full TypeScript test suite before committing
  • Generating HTML and lcov coverage reports for a PR review
  • Checking test pass/fail status without re-running the suite
  • Validating UI component output with snapshot comparisons
  • Using mutation testing to find gaps in test coverage

مثال على سير العمل

الإدخال

User asks: run tests and get a coverage report for my TypeScript project

الوكيل
  1. 1

    Runs ./scripts/test-runner.sh --run to execute the full test suite

  2. 2

    Checks output for any failing tests

  3. 3

    Runs ./scripts/test-runner.sh --coverage to generate the coverage report

  4. 4

    Reports pass/fail counts and coverage metrics to the user

الإخراج

Full test results with pass/fail summary and an HTML + lcov coverage report

التثبيت

clawhub install kleberbaum/ts4

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط