unit-testing
FreeUnit testing patterns with Vitest - mocking, fixtures, isolation, and fast feedback.
The English summary is being prepared. Showing the original description.
190 skills · sorted by relevance
Unit testing patterns with Vitest - mocking, fixtures, isolation, and fast feedback.
The English summary is being prepared. Showing the original description.
Never test mock behavior. Never add test-only methods to production classes. Understand dependencies before mocking.
The English summary is being prepared. Showing the original description.
Intercept, inspect, and modify HTTP/HTTPS traffic via a Rust MITM proxy with Lua scripting hooks. Supports API debugging, LLM call capture for evals, endpoint mocking, CORS/auth header injection, latency simulation, and telemetry blocking. Triggers on 'proxy', 'intercept traffic', 'inspect requests', 'mock API', 'capture API calls', 'MITM', 'network debug', 'HTTP inspection'.
The English summary is being prepared. Showing the original description.
Testing patterns and principles. Unit, integration, mocking strategies.
The English summary is being prepared. Showing the original description.
Generate Jest-based unit tests for JavaScript/TypeScript code. Creates test files following Jest conventions with proper mocking, describe blocks, and coverage.
The English summary is being prepared. Showing the original description.
Generate comprehensive unit tests with proper structure, mocking, and coverage. Use for general unit testing guidance across languages.
The English summary is being prepared. Showing the original description.
Generate pytest-based unit tests for Python code. Creates test files following pytest conventions with proper fixtures, mocking, and parametrization.
The English summary is being prepared. Showing the original description.
Generate unit test files with structure, fixtures, and mocking patterns for Python (pytest) or JS/TS (Jest), auto-detecting the framework. Use when starting tests for a source file. Trigger on "scaffold tests", "generate test file", "write test boilerplate", "set up tests for".
The English summary is being prepared. Showing the original description.
Playwright E2E testing patterns - test structure, Page Object Model, locator strategies, assertions, network mocking, visual regression, parallel execution, fixtures, and configuration
The English summary is being prepared. Showing the original description.
Cypress E2E testing patterns - test structure, data-cy selectors, cy.intercept() mocking, custom commands, fixtures, component testing, accessibility testing with cypress-axe, and CI/CD integration
The English summary is being prepared. Showing the original description.
Vitest test runner - configuration, assertions, mocking (vi.fn, vi.mock, vi.spyOn), fake timers, snapshot testing, coverage, workspace projects
The English summary is being prepared. Showing the original description.
MSW handlers, browser/server workers, test data. Use when setting up API mocking for development or testing, creating mock handlers with variants, or sharing mocks between browser and Node environments.
The English summary is being prepared. Showing the original description.
Detox E2E gray-box testing for React Native - matchers, actions, expectations, waitFor, device API, synchronization, mocking, artifacts, CI integration
The English summary is being prepared. Showing the original description.
E2E testing with Playwright, main process unit testing, IPC testing, dialog/menu mocking, CI headless setup
The English summary is being prepared. Showing the original description.
Use when testing Django applications with pytest - TDD workflow, pytest-django setup, factory_boy and model-bakery fixtures, DRF API testing, mocking and patching, integration tests, mutation testing with mutmut, or coverage
The English summary is being prepared. Showing the original description.
Use when writing Python tests with pytest - fixtures, parametrization, markers, conftest layout, pytest-asyncio, pytest-django, coverage with pytest-cov, mocking with pytest-mock, parallel runs with xdist, mutation testing with mutmut, or CI integration
The English summary is being prepared. Showing the original description.
Unity Test Framework patterns for EditMode and PlayMode tests including async testing, mocking, and test organization.
The English summary is being prepared. Showing the original description.
Use when implementing UI from Figma, Sketch, MasterGo, Pixso, Modao, MockingBot, screenshots, design selections, design tokens, or design-to-code tasks for production frontend components/pages; Chinese triggers include design draft, implementation by design.
The English summary is being prepared. Showing the original description.
Use when building Python 3.11+ applications requiring type safety, async programming, or robust error handling. Generates type-annotated Python code, configures mypy in strict mode, writes pytest test suites with fixtures and mocking, and validates code with black and ruff. Invoke for type hints, async/await patterns, dataclasses, dependency injection, logging configuration, and structured error handling.
The English summary is being prepared. Showing the original description.
Testing patterns and principles. Unit, integration, mocking strategies.
The English summary is being prepared. Showing the original description.
Apex test patterns for @InvocableMethod agent actions: per-reason-code branch coverage, bulk safety, callout mocking, deterministic assertions. NOT for testing whether the agent routes to the right topic or answers well — use agentforce/agent-testing-and-evaluation. NOT for designing the error envelope the tests assert on — use agentforce/agent-action-error-handling.
The English summary is being prepared. Showing the original description.
Write and maintain end-to-end tests with Playwright. Use when someone asks to "add e2e tests", "test my web app", "set up Playwright", "write browser tests", "test login flow", "visual regression testing", "test across browsers", or "automate UI testing". Covers test setup, page objects, authentication, API mocking, visual comparisons, and CI integration.
The English summary is being prepared. Showing the original description.
Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
The English summary is being prepared. Showing the original description.
Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.
The English summary is being prepared. Showing the original description.