testing

Run backend, frontend, E2E, and Rust tests via Makefile targets.

2|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/bradhannah/doggy-bag --skill testing-bradhannah
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/bradhannah/doggy-bag/tree/main/.opencode/skill/testing
Command: npx skills add https://github.com/bradhannah/doggy-bag --skill testing-bradhannah

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill offers a centralized guide for implementing and maintaining tests across backend, frontend, E2E, and Rust/Tauri components, enabling faster feedback and higher software quality.

Core Features & Use Cases

  • Unified testing strategy: Orchestrates Bun tests for backend, Vitest for frontend, Playwright for E2E, and cargo test for Rust components.
  • Coverage, debugging, and quality checks: Provides guidance on achieving robust coverage metrics and efficient debugging workflows.
  • Use Case: In a multi-repo workflow, teams can rely on this skill to standardize how tests are run, reported, and improved across all layers.

Quick Start

Run the full test suite using the project’s Makefile targets:

  • Run all tests: make test
  • Backend tests only: make test-backend
  • Frontend tests only: make test-frontend
  • E2E tests only: make test-e2e

Frequently Asked Questions about testing

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

FAQPage Schema
How do I run tests across frontend, backend, and Rust components in one workflow?

Run a unified test suite across frontend, backend, and Rust components by executing Makefile targets like `make test`, which orchestrates Vitest, Bun, Playwright, and cargo test in a single command.

What is the best way to standardize end-to-end testing across multiple stacks?

Standardizing end-to-end testing across multiple stacks requires a centralized guide to orchestrate Playwright for E2E, Vitest for frontend, and Bun for backend tests, ensuring consistent execution and rapid feedback.

Does this testing approach support Tauri and Rust components?

Yes, this testing approach supports Tauri and Rust components by utilizing `cargo test` alongside Bun and Vitest, providing comprehensive coverage and debugging guidance for real-world Rust integrations.

How do I execute only frontend or backend tests separately?

Execute only frontend or backend tests separately by running specific Makefile targets, namely `make test-frontend` for Vitest execution and `make test-backend` for Bun test execution.

Can I get guidance on test coverage and debugging workflows for multi-repo projects?

Yes, this skill provides guidance on test coverage and debugging workflows for multi-repo projects, offering strategies for achieving robust coverage metrics and efficient debugging across all application layers.