test

Run Vitest unit tests and Playwright end-to-end tests for TenantFlow.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/azadmotala/claude-code-team-builder --skill test-azadmotala
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/azadmotala/claude-code-team-builder/tree/main/examples/saas-dashboard/.claude/skills/test
Command: npx skills add https://github.com/azadmotala/claude-code-team-builder --skill test-azadmotala

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates running the TenantFlow test suite to provide fast feedback on code changes by executing unit tests with Vitest and end-to-end tests with Playwright.

Core Features & Use Cases

  • Supports local development and CI environments to validate code changes.
  • Runs Vitest unit tests and Playwright E2E tests, reporting pass/fail and coverage status.
  • Use cases include pre-PR verification, nightly test runs, and regression testing.

Quick Start

Run npm run test to execute the TenantFlow test suite locally.

Frequently Asked Questions about test

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

FAQPage Schema
How do I automate running Vitest and Playwright tests in CI?▼

Automate running Vitest and Playwright tests in CI by executing the test suite to validate code changes, reporting pass/fail status, and surfacing errors for rapid remediation. It ensures quick, deterministic feedback across local and CI workflows.

What is the best way to run unit and E2E tests for a multi-tenant application?▼

The best way to run unit and E2E tests is by executing Vitest for unit coverage and Playwright for end-to-end validation. This approach ensures consistency by validating test results against defined criteria and reporting status.

Can I use this test execution approach for pre-PR verification and regression testing?▼

Yes, you can use this test execution approach for pre-PR verification, regression testing, and nightly test runs. It supports local development and CI environments to validate code changes quickly and consistently.

How do I execute the test suite locally to get feedback on code changes?▼

Execute the test suite locally by running npm run test. This command runs the Vitest unit tests and Playwright end-to-end tests, providing fast feedback on code changes and reporting coverage status.

Does this testing workflow support both local development and CI environments?▼

Yes, this testing workflow supports both local development and CI environments. It applies to workflows requiring quick, deterministic feedback on code changes, validating test results against defined criteria and reporting pass/fail status.

Why do I need to run Vitest and Playwright tests together for code validation?▼

You need to run Vitest and Playwright tests together to ensure comprehensive code validation across unit and end-to-end levels. This combination surfaces errors for rapid remediation and maintains consistency by validating results against defined criteria.