testing-workflow

Automate standardized testing workflows for Bun backends and Vitest + Playwright frontends.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/MileniumTick/skills --skill testing-workflow-mileniumtick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-workflow
Source: https://github.com/MileniumTick/skills/tree/main/skills/testing-workflow
Command: npx skills add https://github.com/MileniumTick/skills --skill testing-workflow-mileniumtick

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Teams often struggle to maintain consistent testing practices across backend and frontend codebases, leading to flaky tests, slow feedback loops, and fragmented quality signals.

Core Features & Use Cases

  • Unified testing patterns for Bun-based backend services and Vitest + Playwright-based frontend tests.
  • Structured guidance for unit, integration, and end-to-end testing workflows with clear conventions.
  • Real-world example: enforce Arrange-Act-Assert discipline and isolate tests to accelerate feedback.

Quick Start

Run bun test to execute all tests locally for both backend and frontend workflows.

Frequently Asked Questions about testing-workflow

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

FAQPage Schema
How do I set up end-to-end testing with Vitest and Playwright for a Bun backend?

End-to-end testing for a Bun backend involves automating standardized workflows using Vitest and Playwright. You can execute all tests locally by running the 'bun test' command to validate both backend services and frontend E2E tests.

What is the Arrange-Act-Assert pattern for frontend and backend testing?

The Arrange-Act-Assert pattern is a structured testing convention that enforces test isolation and discipline. It separates test setup, execution, and verification phases to accelerate feedback loops and eliminate flaky tests across your codebase.

Does this testing workflow require Bun to run Vitest and Playwright tests?

Yes, this testing workflow requires Bun to properly execute and manage your test configuration. It is specifically designed for projects using Bun for backend services alongside Vitest and Playwright for frontend unit, integration, and E2E tests.

How do I run unit and integration tests for both frontend and backend together?

You can run unit and integration tests for both frontend and backend together by executing 'bun test'. This unified workflow provides structured guidance and consistent testing conventions across your entire stack to ensure fast feedback.

What's the best way to eliminate flaky tests in a Vitest and Playwright workflow?

The best way to eliminate flaky tests is to enforce standardized testing patterns like Arrange-Act-Assert and strict test isolation. This structured guidance ensures consistent testing practices and prevents fragmented quality signals across your codebase.

Why does my Bun test workflow produce slow feedback loops across different codebases?

Slow feedback loops often occur when teams lack consistent testing practices across backend and frontend codebases. Enforcing test isolation and structured patterns like Arrange-Act-Assert within a unified Bun, Vitest, and Playwright workflow accelerates feedback.