finwiz-testing

Convert unittest.mock tests to pytest-mock with deterministic logic.

1|Updated Jun 13, 2025
One-click install
npx skills add https://github.com/fjacquet/finwiz --skill finwiz-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finwiz-testing
Source: https://github.com/fjacquet/finwiz/tree/main/.claude/skills/finwiz-testing
Command: npx skills add https://github.com/fjacquet/finwiz --skill finwiz-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes testing practices, enforcing pytest-mock usage, avoiding unittest.mock, and focusing tests on deterministic logic.

Core Features & Use Cases

  • Mocking Discipline: Always use pytest-mock; ban on unittest.mock with enforcement.
  • Test Structure: Arrange-Act-Assert pattern with clear assertions.
  • CrewAI Testing Guardrails: Test configuration and logic, not full CrewAI execution.
  • Data-Driven Tests: Use fixtures and Faker for realistic inputs.

Quick Start

Convert a test using unittest.mock to pytest-mock, and ensure tests focus on deterministic logic rather than crew execution.