test-advanced

Integrates Mutmut-based mutation testing with Pact contract testing to identify weak tests and API drift.

1|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/CybLow/pypaginate --skill test-advanced
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-advanced
Source: https://github.com/CybLow/pypaginate/tree/main/.opencode/skills/test-advanced
Command: npx skills add https://github.com/CybLow/pypaginate --skill test-advanced

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Mutation testing and contract testing are often disjoint, leading to undetected weaknesses and API drift. This Skill combines mutation testing with Pact-based contract testing and Pact Broker workflows to strengthen test quality and API compatibility across teams.

Core Features & Use Cases

  • Mutation testing with mutmut to identify weak tests and uncovered code paths.
  • Consumer-driven contract testing with Pact to ensure API compatibility and contract conformance.
  • Pact Broker integration to publish and verify contracts across environments and teams.
  • End-to-end testing workflows that weave mutation, contract, and consumer-driven testing into CI.

Quick Start

Install mutmut and Pact tooling, configure a sample project, and run the integrated mutation and contract testing workflow.

Frequently Asked Questions about test-advanced

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

FAQPage Schema
How do I combine mutation testing with contract testing in Python?

Combining mutation testing with contract testing in Python involves integrating mutmut and Pact into a unified workflow. This identifies weak tests and uncovered code paths while ensuring API compatibility and contract conformance across teams.

What's the best way to prevent API drift when using consumer-driven contracts?

Preventing API drift with consumer-driven contracts involves integrating Pact Broker into your workflow. Publish and verify contracts across environments and teams to ensure API compatibility and strict contract conformance.

How does mutation testing with mutmut find weak tests in a pytest project?

Mutation testing with mutmut finds weak tests in a pytest project by mutating source code and running the test suite. If tests pass against mutated code, it identifies weak tests and uncovers code paths lacking proper assertions.

Can I use Pact Broker to manage contract testing across staged environments?

Yes, you can use Pact Broker to manage contract testing across staged environments. It enables you to publish and verify contracts across different environments and teams, ensuring API compatibility throughout your CI pipelines.

Why does combining mutation testing and contract testing improve end-to-end workflows?

Combining mutation testing and contract testing improves end-to-end workflows by solving disjointed testing practices. It weaves mutation, contract, and consumer-driven testing into CI pipelines to strengthen test quality and prevent API drift simultaneously.