testing

Execute test cases for LobeHub web, package, desktop, and Electron IPC applications.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/alceupassos/hub --skill testing-alceupassos
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/alceupassos/hub/tree/main/.agents/skills/testing
Command: npx skills add https://github.com/alceupassos/hub --skill testing-alceupassos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires vitest, node-postgres, pg_search, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a streamlined guide for executing tests on LobeHub applications, ensuring a quick and efficient way to verify code quality and functionality.

Core Features & Use Cases

  • Test Execution: Run tests for web applications, packages, and desktop applications.
  • Database Testing: Offers guidance on testing database models and repositories.
  • Electron IPC Testing: Specialized instructions for testing Electron IPC communication.
  • Zustand Store Action Testing: Detailed guidance on testing Zustand store actions.
  • Use Case: A developer uses this Skill to execute test cases for a web application, ensuring all functionalities work as expected before deployment.

Quick Start

Run the test suite for the webapp by executing 'bunx vitest run --silent='passed-only'' from the root directory.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I run automated tests for a LobeHub web application?▼

To run automated tests for a LobeHub web application, execute `bunx vitest run --silent='passed-only'` from the root directory to verify code functionality and ensure quality.

Does vitest support Electron IPC and Zustand store testing?▼

Yes, vitest supports executing specialized test scenarios. It provides specific guidelines for testing Electron IPC communication and verifying Zustand store actions within your application.

Can I test database models and repositories with node-postgres?▼

Yes, you can test database models and repositories using node-postgres. The Skill provides specific guidance for database testing to ensure your data layers function correctly.

What is the best way to execute test cases across multiple environments?▼

The best way to execute test cases across multiple environments is using this automated testing Skill. It supports web, package, desktop, and Electron IPC testing scenarios seamlessly.

Do I need vitest to execute automated tests for desktop applications?▼

Yes, vitest is required as a dependency to execute automated tests. It handles the test execution for desktop applications, web apps, and package testing scenarios.