test-risk

Run Python risk management tests with pytest and coverage reports.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/maminul007/trading-platform --skill test-risk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-risk
Source: https://github.com/maminul007/trading-platform/tree/main/.claude/skills/test-risk
Command: npx skills add https://github.com/maminul007/trading-platform --skill test-risk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the execution of the risk management test suite, allowing for targeted testing and quick identification of regressions or issues within the risk management modules.

Core Features & Use Cases

  • Comprehensive Test Execution: Run all tests within the risk management suite.
  • Targeted Testing: Filter tests by module name or specific keywords for focused debugging.
  • Code Coverage: Generate coverage reports to identify untested areas of the risk management code.
  • Use Case: After making changes to the liquidity risk module, run /test-risk liquidity to ensure no existing functionality has been broken.

Quick Start

Execute all risk management tests by typing /test-risk.

Frequently Asked Questions about test-risk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run risk management tests for a specific module using pytest?

Automated risk management tests verify module functionality by executing a Python-based pytest suite. This process targets the tests/test_risk_management/ directory to identify regressions or issues within the risk management code after updates, ensuring code stability.

How do I filter pytest test runs by specific keywords for debugging?

Filter pytest test runs by specific keywords by passing the keyword string to the test execution command. This allows you to isolate and run only the matching tests within the risk management suite, accelerating the debugging process by ignoring unrelated test cases.

Can I generate code coverage reports for risk management test suites?

Risk management test execution requires pytest and related plugins installed in your Python environment. This setup provides the necessary testing framework and coverage analysis tools required to parse and run the test suite within the tests/test_risk_management/ directory.

What is the best way to automate targeted testing for risk management modules?

Risk management test execution supports filtering tests by module name or specific keywords. This targeted testing approach runs only the matching tests from the tests/test_risk_management/ directory, enabling focused debugging and faster feedback cycles.

Why do I need pytest and related plugins to run risk management tests?

Risk management test execution supports code coverage analysis to identify untested areas of the code. By running the pytest suite with coverage tracking enabled, developers generate reports highlighting gaps in test coverage across risk management modules.