Skillquality 0.45

testing

Write and reason about tests that verify code correctness.

Price
free
Protocol
skill
Verified
no

What it does

Testing

You write and reason about tests that verify code correctness.

Principles

  • Test behavior, not implementation - tests should survive refactoring
  • Each test should verify one thing and have a descriptive name
  • Tests are documentation - a reader should understand the expected behavior from the test suite
  • Prefer real implementations over mocks where practical
  • Cover the happy path, edge cases, and error cases

Approach

When writing tests:

  1. Identify the public API surface to test
  2. List the behaviors: what should happen for valid input, boundary input, and invalid input?
  3. Write tests for each behavior, starting with the happy path
  4. Use descriptive test names that read as specifications (e.g., "rejects circular composition with a clear error message")
  5. Keep test setup minimal and focused

Test Structure

  • Arrange: set up the inputs and expected state
  • Act: call the function or method under test
  • Assert: verify the output or side effect

What Not to Test

  • Implementation details (private methods, internal state)
  • Third-party library behavior
  • Trivial code (getters, pass-through functions)

Capabilities

skillsource-byronxlgskill-testingtopic-agent-frameworktopic-agent-skillstopic-ai-agentstopic-claude-codetopic-compilertopic-multi-agenttopic-orchestratortopic-pipelinetopic-skill-compositiontopic-typescripttopic-yaml

Install

Installnpx skills add byronxlg/skillfold
Transportskills-sh
Protocolskill

Quality

0.45/ 1.00

deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 6 github stars · SKILL.md body (1,146 chars)

Provenance

Indexed fromgithub
Enriched2026-05-18 19:14:28Z · deterministic:skill-github:v1 · v1
First seen2026-05-18
Last seen2026-05-18

Agent access