agent-testing

Automate end-to-end testing for LobeHub AI agents across backend, frontend, and bot channels.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires agent-browser, puppeteer, pytest, pytest-cucumber, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the end-to-end testing process for LobeHub's AI agents, streamlining the verification of backend, frontend, full-stack, and bot-channel functionality.

Core Features & Use Cases

  • Backend Verification: Test TRPC routers, services, models, and migrations via the CLI.
  • Frontend Verification: Validate the user interface and experience in the desktop app and browser.
  • Full-Stack Verification: Ensure the full stack works together seamlessly in the browser.
  • Bot Channel Verification: Test bot functionality across various platforms like Discord, Slack, and WeChat.
  • Use Case: For instance, you can use this Skill to verify that a new feature in your AI agent works correctly in the desktop app and across multiple bot channels.

Quick Start

Run the 'cli test' command to initiate the end-to-end testing process for your LobeHub agent.

Frequently Asked Questions about agent-testing

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

FAQPage Schema
How do I automate end-to-end testing for LobeHub AI agents?

You can automate end-to-end testing for LobeHub AI agents by running the 'cli test' command, which initiates verification across backend, frontend, full-stack, and bot channels to ensure proper functionality.

What is the best way to test TRPC routers and services in a local development environment?

The best way to test TRPC routers and services is through backend verification, which validates routers, models, and migrations via the CLI within your local development environment to ensure integration.

Can I verify bot functionality across platforms like Discord and Slack using pytest?

Yes, you can verify bot functionality across platforms like Discord, Slack, and WeChat using pytest, ensuring that the AI agent operates correctly across various communication channels.

Does this end-to-end testing approach support frontend validation in both desktop apps and browsers?

Yes, end-to-end testing supports frontend validation by verifying the user interface and experience within both the desktop app and browser environments to ensure full-stack integration.

Do I need Puppeteer to run full-stack verification in the browser?

Yes, Puppeteer is required as a dependency to run full-stack verification in the browser, ensuring that the entire stack works together seamlessly alongside pytest for testing.

Why use pytest-cucumber for bot channel verification instead of standard testing tools?

Using pytest-cucumber for bot channel verification enables behavior-driven testing across Discord, Slack, and WeChat, providing structured validation for AI agent integrations over standard pytest.