Tag: unit-testing
Vitest best practices and testing guide
This guide outlines advanced best practices for writing robust unit and integration tests using Vitest. It advises developers on mocking strategies, distinguishing between behavior and implementation tests, and optimizing test coverage.
Write Baserow Backend Unit Tests
Write or update Baserow backend tests for core, premium, and enterprise modules using pytest, Django, and DRF. The skill utilises existing repository fixtures and patterns to ensure consistent testing of handlers, services, and API views.
Write Baserow Frontend Unit Tests
This skill guides developers on writing unit tests for Baserow's frontend components and utilities. It mandates adherence to established patterns using Vitest, TestApp, and Nuxt helpers for accurate and consistent testing.
Advanced skill for robust frontend testing
This skill provides advanced methodologies and best practices for writing robust unit and integration tests for React applications. It guides developers through covering edge cases, boundary conditions, and complex asynchronous flows using …
Writing effective and maintainable Python unit tests
This skill guides the development of robust Python unit tests using pytest, covering principles like atomicity and self-containment. It details best practices for fixtures, parameterization, mocking external services, and handling asynchron…
Writing Focused, Practical Codebase Tests
This skill guides developers through writing high-impact, focused tests for complex codebases, adhering to the 80/20 principle. It mandates minimal mocking, preferring real database interactions while focusing assertions on core behavior an…
Best Practices for Writing Robust Unit Tests
This guide outlines best practices for developing reliable tests using Vitest, covering advanced mocking patterns, test structure, and distinguishing between behavior and implementation-coupled assertions. It advises developers on optimizin…
Frontend Testing Skill
Provides a structured methodology for implementing unit and integration tests for React applications using Jest and React Testing Library. It details configuration, testing patterns, and strategies for handling complex asynchronous scenario…
Writing Baserow Backend Unit Tests
This skill facilitates writing and updating backend unit tests for Baserow's core, premium, and enterprise modules using pytest and Django. It adheres to established repository patterns, utilising shared fixtures and DRF APIClient to test h…
testing dbhub connectors and utilities
This skill facilitates comprehensive testing of DBHub, covering unit tests using Vitest and complex integration tests leveraging Testcontainers for various database backends. It provides structured commands and debugging guidance for ensuri…
Unit Test Philosophy and Allure Standards
Defines risk-based unit testing principles and Allure-readable behavioural specification styles for the Open Agreements repository. It emphasises regression prevention, OpenSpec traceability, and structured test reporting.
Writing effective and maintainable Python unit tests
This skill guides developers through writing robust, atomic, and self-contained Python unit tests using pytest. It covers advanced techniques such as parameterization, fixture management, mocking boundaries, and handling asynchronous operat…
Test-Driven Development Workflow
Enforces a rigorous test-driven development workflow, mandating unit, integration, and E2E tests with a minimum 80% coverage threshold. The process guides developers through defining user journeys and test cases prior to implementation.
Running PinRAG Unit Tests
Executes the PinRAG pytest suite using uv while automatically loading required environment variables from the local MCP configuration. This skill enables local integration testing and CI-like workflows by synchronising dependencies and mana…
Generate focused unit tests for backend logic
This skill generates focused unit tests specifically designed for backend and utility logic. It assists developers in ensuring robust coverage for core application functions.
Comprehensive Testing Guidelines for Inbox-Zero
Provides comprehensive guidance for testing the application, covering unit, integration, and end-to-end workflows. It details running specialized tests for LLM features and cross-model evaluation.
Testing the Edict Compiler
Provides guidance on implementing and executing vitest-based tests for the Edict compiler pipeline. It covers testing patterns for schema validation, type checking, and Z3 contract verification.
Unity Test Execution and Monitoring Tool
Execute Unity tests in Edit or Play mode and retrieve detailed results, including summaries, test statuses, and captured logs. It supports granular filtering by assembly, namespace, class, and method.
Skill for Testing Deletion Functionality
A dedicated skill designed to verify the deletion functionality within an agentic system. It is used specifically for testing deletion operations.
XcodeBuildMCP Test Boundary Review
This skill facilitates the review of XcodeBuildMCP tests to ensure correct unit, snapshot, schema, and external process boundaries. It enforces guardrails for test isolation and validates changes using Vitest and type-checking.
Test Coverage Improver
This skill automates the assessment and enhancement of test coverage by running coverage suites, identifying low-coverage files, and proposing impactful test cases for user approval.