tester

Generates test strategies, test cases, and automated test scripts for Shopify Remix apps.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/dan10002ht/shopify-template --skill tester-dan10002ht
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tester
Source: https://github.com/dan10002ht/shopify-template/tree/main/.claude/skills/tester
Command: npx skills add https://github.com/dan10002ht/shopify-template --skill tester-dan10002ht

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building a Shopify app requires rigorous quality assurance across unit, integration, E2E, performance, and security layers, but writing comprehensive tests and test strategies from scratch is time-consuming and error-prone. ## Core Features & Use Cases - Test Strategy & Planning: Produces risk-based test plans, test case documents, and bug reports using structured templates with severity and priority classifications. - Automated Test Generation: Writes Vitest unit tests with real database isolation, React Testing Library component tests for Polaris UI, Playwright E2E tests with page object patterns, and k6 load tests with performance thresholds. - Shopify-Specific Testing: Covers webhook HMAC validation, idempotency handling, GDPR compliance webhooks, OAuth flows, billing API, and multi-tenant data isolation. - Use Case: When implementing a new product management feature, invoke this Skill to receive a complete test suite including service tests, component tests, E2E journeys, and a CI pipeline configuration with bundle size checks. ## Quick Start Ask the tester to create a test strategy and automated tests for your new Shopify app feature, such as product management or webhook handling.

Frequently Asked Questions about tester

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

FAQPage Schema
How do I write unit tests for a Shopify Remix app with Vitest?

Use Vitest with a real test database instead of Prisma mocks, cleaning up test data in beforeEach and afterEach hooks. Test multi-tenant isolation by verifying queries only return records for the given shop domain.

How to test Shopify webhooks with HMAC validation?

Create mock webhook requests by generating an HMAC-SHA256 signature with your app secret, exactly as Shopify does. Test valid signatures return 200, invalid secrets return 401, and duplicate webhook IDs are handled idempotently.

What testing frameworks work for Shopify app development?

Vitest handles unit and integration tests, React Testing Library covers Polaris component tests, Playwright runs E2E user journeys, and k6 performs load testing with performance thresholds like p95 response times under 500ms.

Does Playwright support testing Shopify Polaris components?

Yes, Playwright tests Polaris-based UIs through role-based selectors and data-testid attributes. Use the page object pattern to encapsulate interactions and network interception to simulate loading states and server errors.

Why do Shopify webhook tests fail with 401 errors?

A 401 response means HMAC validation failed, usually because the signing secret does not match or the payload was modified after signing. Ensure you sign the exact raw JSON body string with the correct app secret using SHA256.

What are the limitations of load testing Shopify apps with k6?

k6 simulates traffic at the HTTP level, so it cannot execute client-side JavaScript or test App Bridge interactions. It also requires realistic session tokens for authenticated routes, which must be provisioned separately before the test run.