testing-patterns

Installation
SKILL.md

Testing Patterns Skill

Test Structure (AAA Pattern)

def test_function_does_expected_thing():
    """Test description explaining what and why."""
    # Arrange - Set up test data and preconditions
    input_data = {"key": "value"}
    expected = "result"

    # Act - Execute the code under test
    result = function_under_test(input_data)

    # Assert - Verify the outcome
    assert result == expected

Installs
7
GitHub Stars
175
First Seen
May 16, 2026
testing-patterns — softspark/ai-toolkit