a2ui-test-quality-check

Installation
SKILL.md

A2UI Test Quality & Assertions Auditing Skill

This skill guides you through the process of auditing codebase test suites to verify that tests are providing robust, meaningful assertions and verifying critical invariants, rather than simply running paths for code coverage.


Instructions

  1. Locate Test Suites:

    • Find all test directories and test files in each platform's implementation folder (e.g. tests/, test/, *Tests.swift).
  2. Audit Assertion Quality:

    • For each test case, inspect the assertions used:
      • Flag "weak assertions" that only verify non-null or truthy values without checking specific payload structure, field values, or types (e.g. expect(result).not.toBeNull() on a complex object).
      • Flag "empty tests" that execute code blocks but lack any assertions or mocks verifications (e.g. executing to check for lack of exceptions, unless it is explicitly marked as a no-throw smoke test).
      • Ensure that return models, state side effects, and events dispatched have corresponding value-matching assertions.
Installs
3
GitHub Stars
17.3K
First Seen
Jul 27, 2026