gts-testing

Automate pytest-based testing for Python services with fixtures and parametrization.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/krazyuniks/guitar-tone-shootout-archive --skill gts-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gts-testing
Source: https://github.com/krazyuniks/guitar-tone-shootout-archive/tree/main/.claude/skills/gts-testing
Command: npx skills add https://github.com/krazyuniks/guitar-tone-shootout-archive --skill gts-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers design and execute robust tests using pytest, fixtures, and integration testing patterns, reducing flaky tests and accelerating feedback.

Core Features & Use Cases

  • Test Organization: Structure unit, integration, and end-to-end tests with clear conventions.
  • Fixtures & Parametrization: Reusable fixtures and parameterized tests to cover edge cases.
  • E2E and Integration Testing: Guidance for end-to-end tests and real-service integration testing.
  • Use Case: Example of creating a signal chain like in the NAM project to illustrate test coverage.

Quick Start

  • Install dependencies and run the test suite with pytest.
  • Use provided fixtures such as db_session, test_user, and auth_headers to quickly write and execute tests.

Frequently Asked Questions about gts-testing

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

FAQPage Schema
How do I structure pytest fixtures for unit and integration testing?

Structure pytest fixtures by creating reusable components like db_session and auth_headers to cover unit and integration testing. This approach organizes test dependencies clearly, reducing flaky tests and accelerating feedback across your Python services.

How do I write parametrized pytest tests to cover edge cases?

Write parametrized pytest tests by passing multiple datasets through a single test function to cover edge cases. This technique uses reusable fixtures to validate various inputs, ensuring robust test coverage for your Python services.

What is the best way to handle end-to-end testing with pytest?

The best way to handle end-to-end testing with pytest is to use real-service integration testing and apply mocks only for external APIs. This method ensures your signal chains and services are validated accurately without introducing flaky tests.

Do I need to mock external APIs for real-service integration testing in pytest?

For real-service integration testing in pytest, you should mock only external APIs while keeping internal services active. This strategy allows you to validate actual service interactions and signal chains while isolating your tests from third-party failures.

Why are my pytest tests flaky and how can fixtures help?

pytest tests become flaky due to unmanaged state and dependencies, which fixtures resolve by providing consistent, reusable environments like db_session and test_user. Implementing structured fixtures stabilizes test execution and accelerates feedback loops.

Can I use pytest for both unit testing and e2e testing in Python services?

Yes, you can use pytest for both unit testing and e2e testing in Python services by applying clear conventions and parametrization. Reusable fixtures support various test levels, reducing flaky tests while maintaining robust coverage.