Unit Testing
5220 skills in Testing & Security > Unit Testing
refactoring
Use when restructuring code to improve quality without changing external behavior. Emphasizes safety through tests and incremental changes.
cucumber-step-definitions
Writing effective step definitions and organizing test code
graphql-resolvers
Use when implementing GraphQL resolvers with resolver functions, context management, DataLoader batching, error handling, authentication, and testing strategies.
playwright-page-object-model
Use when creating page objects or refactoring Playwright tests for better maintainability with Page Object Model patterns.
junit-extensions
Use when jUnit extensions including custom extensions, rules, and conditional test execution.
react-native-web-testing
Use when testing React Native Web applications. Provides patterns for Jest, React Native Testing Library, component testing, and web-specific testing strategies.
pytest-advanced
Use when advanced Pytest features including markers, custom assertions, hooks, and coverage configuration.
fastapi-dependency-injection
Master FastAPI dependency injection for building modular, testable APIs. Use when creating reusable dependencies and services.
vitest-configuration
Use when vitest configuration, Vite integration, workspace setup, and test environment configuration for modern testing.
mocha-configuration
Use when mocha configuration including reporters, config files, plugins, and CI integration.
mocha-assertions
Use when assertion libraries for Mocha including Chai with expect, should, and assert styles.
testng-data-driven
Use when implementing data-driven tests with TestNG DataProviders, factory methods, and parameterization patterns.
cypress-fundamentals
Use when cypress fundamentals including commands, assertions, fixtures, and E2E testing patterns.
jest-advanced
Use when advanced Jest features including custom matchers, parameterized tests with test.each, coverage configuration, and performance optimization.
junit-parameterized
Use when jUnit parameterized tests with various value sources and test factories.
bdd-collaboration
Use when facilitating BDD collaboration between developers, testers, and business stakeholders. Use when running discovery workshops and example mapping sessions.
jutsu-bunbun-testing
Use when writing tests with Bun's built-in test runner. Covers test organization, assertions, mocking, and snapshot testing using Bun's fast test infrastructure.
playwright-test-architecture
Use when setting up Playwright test projects and organizing test suites with proper configuration and project structure.
jest-testing-patterns
Use when jest testing patterns including unit tests, mocks, spies, snapshots, and assertion techniques for comprehensive test coverage.
jest-configuration
Use when jest configuration, setup files, module resolution, and project organization for optimal testing environments.