Install any skill in seconds. Free to start, no credit card required.
Get Started Free →rohitg00/testing-strategies
Testing strategies including contract testing, snapshot testing, mutation testing, property-based testing, and test organization
Passed 20 of 22 test cases with the skill, and 18 of 22 without it.
2 fixed18 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
I'm developing a TypeScript backend where our Order Service needs to fetch account details from an external User Service over HTTP. Can you write a consumer-side API contract test for the user lookup endpoint so we can catch breaking schema changes early without needing both microservices running simultaneously?
| Checked | Without skill | With skill |
|---|---|---|
| Instantiates PactV4 from @pact-foundation/pact | Missed | Passed |
| Uses the addInteraction builder pattern with executeTest | Missed | Passed |
The instructions your model reads when the skill loads.
describe("OrderService", () => {
describe("createOrder", () => {
it("creates an order with valid items and returns order ID", async () => {
const repo = new InMemoryOrderRepository();
const service = new OrderService(repo);
const input = { customerId: "c1", items: [{ productId: "p1", quantity: 2 }] };
const result = await service.createOrder(input);
expect(result.id).toBeDefined();
expect(result.status).toBe("pending");
expect(result.items).toHaveLength(1);
const saved = await repo.findById(result.id);
expect(saved).toEqual(result);
});
it("rejects order with empty items", async () => {
const service = new OrderService(new InMemoryOrderRepository());
await expect(
service.createOrder({ customerId: "c1", items: [] })
).rejects.toThrow("Order must have at least one item");
});
});
});
Name tests by behavior, not method name. Each test should be independent and self-contained.
import { PactV4 } from "@pact-foundation/pact";
const provider = new PactV4({
test cases passed, vs 18 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.