Skip to content
Agentmart
Submit a tool
This entry duplicates testing-methodology, which is the one we list in search.

testing-methodology

Write comprehensive tests using property tests, unit tests, integration tests, and regression tests.

Skill by justinfleek

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/justinfleek-testing-methodology-f4dcf0

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Write comprehensive tests using property tests, unit tests, integration tests, and regression tests. Use when writing tests, test suites, or testing strategies.

Use cases: testing, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
testing-methodology
Description
Write comprehensive tests using property tests, unit tests, integration tests, and regression tests. Use when writing tests, test suites, or testing strategies.
License
MIT
Compatibility
opencode
Instructions
56 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Testing Methodology Skill

## Test Types and When to Use

### Property Tests (fast-check)
**Location:** `src/__tests__/property/`
**Use for:** Pure functions, math, validation, transformations
**Pattern:**
```typescript
import { fc } from "@fast-check/vitest";

describe("functionName", () => {
  it.prop([fc.float(), fc.float()])("property description", (a, b) => {
    const result = functionName(a, b);
    expect(Number.isFinite(result)).toBe(true);
  });
});
```

### Unit Tests (vitest)
**Location:** `src/__tests__/unit/`
**Use for:** Specific behavior, edge cases, error handling

### Integration Tests
**Location:** `src/__tests__/integration/`
**Use for:** Store interactions, service coordination

### Browser Tests (playwright)
**Location:** `ui/e2e/`
**Use for:** Canvas, WebGL, DOM interactions

### Regression Tests
**Location:** `src/__tests__/regression/`
**Use for:** Bug fixes (named after bug ID)

## Test Naming Convention
- `{feature}.test.ts` - Unit tests
- `{feature}.property.test.ts` - Property tests
- `{feature}.integration.test.ts` - Integration tests
- `{bugId}.regression.test.ts` - Regression tests

## What to Test
1. **Happy path** - Normal inputs work
2. **Edge cases** - 0, null, undefined, empty, max values
3. **Invalid inputs** - NaN, Infinity, wrong types
4. **Invariants** - Things that must always be true

## Running Tests
```bash
npm test                     # All tests
npm test -- {pattern}        # Filtered
npm run test:browser         # Playwright tests
npx vitest --reporter=verbose  # Detailed output
```

From justinfleek/ComfyUI-Lattice-Compositor, MIT.

More from justinfleek/ComfyUI-Lattice-Compositor

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Feb 7, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from justinfleek

Cite this page

testing-methodology skill. Agent Mart. https://agentmart.dev/skills/justinfleek-testing-methodology-f4dcf0 (last updated 2026-10-24)