Electrobun Testing

Create and understand automated and interactive tests for Electrobun applications.

366|65|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/milady-ai/milady --skill electrobun-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Electrobun Testing
Source: https://github.com/milady-ai/milady/tree/main/.claude/plugins/electrobun-dev/skills/electrobun-testing
Command: npx skills add https://github.com/milady-ai/milady --skill electrobun-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of writing, understanding, and maintaining tests for Electrobun applications, ensuring robust and reliable software.

Core Features & Use Cases

  • Test Authoring: Provides patterns and examples for defining new tests using defineTest().
  • Test Framework Understanding: Explains the structure and parameters of the defineTest() function and the Test Body API.
  • Test Suite Management: Guides on how to register new test suites and regenerate manifests.
  • Use Case: When developing a new feature for Electrobun, use this Skill to quickly write comprehensive unit and integration tests, ensuring the feature behaves as expected across different scenarios.

Quick Start

Use the Electrobun Testing skill to generate a new test suite for the BrowserWindow API.

Frequently Asked Questions about Electrobun Testing

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

FAQPage Schema
How do I write unit tests for Electrobun BrowserWindow and BrowserView APIs?

Electrobun unit tests use the defineTest() function to establish test patterns and parameters for BrowserWindow and BrowserView APIs. It exposes the Test Body API required to validate window and view behaviors across different interactive scenarios.

How do I register a new test suite and generate a manifest in Electrobun?

Registering an Electrobun test suite requires adding your tests and regenerating manifests to update the suite registry. This process ensures the Kitchen Sink application recognizes and executes your new test cases.

Can I run integration tests for Electrobun RPC and Navigation functionalities?

Yes, Electrobun supports integration tests for RPC and Navigation functionalities. The testing framework provides specific patterns and API surface usage to validate communication and routing behaviors within your application.

What is the defineTest function structure in the Electrobun testing framework?

The defineTest() function in the Electrobun testing framework structures your test definitions by accepting specific parameters that configure the test environment. It interfaces with the Test Body API to execute and validate application behaviors.

Does Electrobun testing support code coverage and test-driven development?

Electrobun testing facilitates test-driven development by providing patterns for writing comprehensive unit and integration tests before feature implementation. It supports validating expected behaviors across BrowserWindow, BrowserView, Utils, RPC, and Navigation functionalities.