backend-testing

Run pytest and ruff check for 7Flows backend API tests.

239|19|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/taichuy/7flows --skill backend-testing-taichuy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-testing
Source: https://github.com/taichuy/7flows/tree/main/.agents/skills/backend-testing
Command: npx skills add https://github.com/taichuy/7flows --skill backend-testing-taichuy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the need for thorough backend testing within the 7Flows project, ensuring the reliability and correctness of API functionalities, runtime behavior, and published interfaces.

Core Features & Use Cases

  • Test Case Creation: Write new tests for API routes, services, schemas, and runtime logic.
  • Test Execution: Run existing pytest suites and ruff check for code quality.
  • Gap Analysis: Identify and report on missing test coverage for critical backend components.
  • Use Case: Before merging a new feature that modifies the RuntimeService, use this Skill to write comprehensive integration tests that verify its orchestration logic and ensure it adheres to the 7Flows IR.

Quick Start

Execute the backend tests for the 7Flows API using the provided command.

Frequently Asked Questions about backend-testing

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

FAQPage Schema
How do I run pytest tests for backend API routes and services?

Execute backend API tests by running existing pytest suites via the uv command runner, validating route behaviors, service orchestration, and schema correctness against the 7Flows IR.

What is the best way to verify RuntimeService orchestration logic before merging?

Write comprehensive integration tests validating RuntimeService orchestration logic and runtime behavior to ensure strict adherence to the 7Flows IR specifications before merging.

How do I identify missing test coverage for critical backend components?

Perform gap analysis on critical backend components to identify and report missing test coverage across API routes, services, and schemas, prioritizing behavioral and factual layer validation.

Does ruff check work with pytest for backend code quality verification?

Yes, ruff check integrates seamlessly with pytest workflows to verify backend code quality, catching linting errors while pytest validates the functional correctness of API routes and runtime logic.

When do I need to write tests for 7Flows API schemas and runtime behavior?

Write tests for 7Flows API schemas and runtime behavior whenever modifying services or adding new features, ensuring published interfaces remain reliable and factual layer validation is maintained.