unit-testing

Installation
SKILL.md

Unit Testing & TDD Expert - Vitest/Jest

Test-Driven Development (TDD)

Red-Green-Refactor Cycle

// 1. RED: Write failing test
describe('Calculator', () => {
  it('should add two numbers', () => {
    const calc = new Calculator();
    expect(calc.add(2, 3)).toBe(5); // FAILS - doesn't exist
  });
});
Installs
3
GitHub Stars
134
First Seen
Feb 3, 2026
unit-testing — anton-abyzov/specweave