wired-runner-fixture

Extract a shared wired_runner pytest fixture for E2ERunner tests.

11|2|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/HomericIntelligence/ProjectScylla --skill wired-runner-fixture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wired-runner-fixture
Source: https://github.com/HomericIntelligence/ProjectScylla/tree/main/.claude-plugin/skills/wired-runner-fixture
Command: npx skills add https://github.com/HomericIntelligence/ProjectScylla --skill wired-runner-fixture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reduces boilerplate in E2E tests by providing a pre-configured wired_runner fixture that initializes common dependencies and state, so tests can focus on behavior rather than setup.

Core Features & Use Cases

  • Centralizes the wiring of wired_runner across tests for consistency.
  • Eliminates repetitive fixture construction and patching in test methods.
  • Enables fast refactors by swapping fixture behavior in one place.

Quick Start

Import the wired_runner fixture in your tests and reference it to run end-to-end tests with a pre-configured E2ERunner.

Frequently Asked Questions about wired-runner-fixture

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

FAQPage Schema
How do I reduce boilerplate when constructing the same object with heavy dependencies in pytest?

You can reduce boilerplate by extracting a shared wired pytest fixture that centralizes object construction and mocking. This fixture initializes common dependencies and state upfront, allowing test methods to focus on behavior verification rather than repetitive setup configuration.

What is a wired pytest fixture used for in E2E testing?

A wired pytest fixture provides a pre-configured setup for E2E tests by initializing common dependencies and state in one place. It is used to eliminate repetitive fixture construction and patching across multiple test methods that need to construct the same object with heavy dependencies.

How do I centralize fixture creation to enable safe patching across multiple test methods?

Centralize fixture creation by applying a shared wired fixture that initializes the E2ERunner and its dependencies. This enables safe patching by isolating the setup logic in a single location, allowing all test methods to reference the pre-configured object without duplicating mock configurations.

Can I refactor test setup behavior in one place instead of updating each test method individually?

Yes, you can refactor test setup behavior in one place by using a centralized wired fixture. Swapping fixture behavior in a single location automatically propagates changes across all tests that reference it, eliminating the need to update repetitive setup code in individual test methods.

Does this fixture approach work for test classes where multiple methods construct the same object?

Yes, this fixture approach specifically applies to test classes where multiple methods construct the same object with heavy dependencies. It centralizes the wiring of the E2ERunner across tests for consistency, ensuring each method receives a pre-configured instance without duplicating construction logic.

What are the limitations of using a shared wired fixture for E2E tests?

A shared wired fixture centralizes setup but may introduce state leakage between tests if not properly isolated. It is best suited for test classes needing consistent dependency mocking, but tests requiring unique object configurations or independent state may not benefit from this centralized approach.