runtime-tests

Build and execute Uno Platform runtime tests for Skia Desktop and WebAssembly.

10.0k|872|Updated May 7, 2018
One-click install
npx skills add https://github.com/unoplatform/uno --skill runtime-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: runtime-tests
Source: https://github.com/unoplatform/uno/tree/main/.claude/skills/runtime-tests
Command: npx skills add https://github.com/unoplatform/uno --skill runtime-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the complex process of building and executing Uno Platform runtime tests, handling intricate base64 encoding requirements for test filters and platform-specific build/run commands.

Core Features & Use Cases

  • Automated Test Execution: Builds and runs Uno Platform runtime tests for Skia Desktop and WebAssembly.
  • Flexible Filtering: Supports running all tests or specific test classes/methods using base64 encoded filters.
  • Platform-Specific Handling: Manages build and execution differences between Desktop and WASM targets.
  • Use Case: When a new UI component is developed, use this Skill to quickly build and run all relevant runtime tests on both Desktop and WASM to ensure cross-platform compatibility.

Quick Start

Use the runtime-tests skill to build and run all Uno Platform runtime tests on Skia Desktop.

Frequently Asked Questions about runtime-tests

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

FAQPage Schema
How do I build and run Uno Platform runtime tests across Skia Desktop and WebAssembly?

You can build and run Uno Platform runtime tests by executing platform-specific commands for Skia Desktop and WebAssembly targets. The process handles build configurations and execution commands to validate UI components across different platforms.

How do I filter specific Uno Platform test classes or methods during execution?

You filter specific Uno Platform tests by applying base64 encoded filters to the execution command. This mechanism allows targeting specific test classes or methods instead of running the entire test suite.

Does the Uno Platform runtime test execution process require Python?

Yes, the Uno Platform runtime test execution process requires Python as a dependency. You need a Python environment configured to run the scripts that manage the build and test execution commands.

What is the best way to validate cross-platform compatibility for new Uno Platform UI components?

The best way to validate cross-platform compatibility for Uno Platform UI components is to run runtime tests on both Skia Desktop and WebAssembly. This ensures the component behaves consistently across different execution environments.

Why does my Uno Platform test filter fail when trying to run a specific test suite?

Uno Platform test filters fail if they are not correctly base64 encoded. The execution process requires test filters to be properly base64 encoded to interpret and apply the filtering commands accurately.