.agent-os/skills/testing/SKILL.md
# Testing Skill > Loaded by: QA Division agents | Version: 1.0 ## Test Pyramid ``` / E2E \ <- Few, slow, expensive / Integr. \ <- Some, moderate / Unit \ <- Many, fast, cheap ``` ## Unit Test Pattern (Arrange, Act, Assert) ```python def test_user_creation(): # Arrange user_data = {"name": "Alice", "email": "[email protected]"} # Act user = UserService.create(user_data) # Assert assert user.name == "Alice" assert user.id is
npx skillsauth add ab-aswini/agent-kit-p1 .agent-os/skills/testingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Loaded by: QA Division agents | Version: 1.0
/ E2E \ <- Few, slow, expensive
/ Integr. \ <- Some, moderate
/ Unit \ <- Many, fast, cheap
def test_user_creation():
# Arrange
user_data = {"name": "Alice", "email": "[email protected]"}
# Act
user = UserService.create(user_data)
# Assert
assert user.name == "Alice"
assert user.id is not None
test_[unit]_[scenario]_[expected_result]development
Web application testing principles. E2E, Playwright, deep audit strategies.
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
testing
Advanced vulnerability analysis principles. OWASP 2025, Supply Chain Security, attack surface mapping, risk prioritization.
testing
Testing patterns and principles. Unit, integration, mocking strategies.