Agent Skills
› google/filament
› filament-desktop-testing
filament-desktop-testing
GitHub用于在桌面平台执行 Filament 单元测试和性能基准测试。支持直接运行编译后的二进制文件,并通过 Google Test/Benchmark 参数过滤特定测试或基准用例。
Trigger Scenarios
需要运行本地单元测试
需要执行性能基准测试
Install
npx skills add google/filament --skill filament-desktop-testing -g -y
SKILL.md
Frontmatter
{
"name": "filament-desktop-testing",
"description": "Execute unit tests and performance benchmarks for Filament on desktop platforms. Use this skill to run and filter tests or benchmarks locally."
}
Filament Desktop Testing and Benchmarking
This skill covers running tests and performance benchmarks on desktop platforms.
1. Executing a Unit Test
Run compiled unit test binaries directly from their respective build output directories.
Example: Running utils unit tests (Debug)
./out/cmake-debug/libs/utils/test_utils
Example: Running filament unit tests (Debug)
./out/cmake-debug/filament/test/test_filament
Filtering Tests
Use standard Google Test (gtest) command-line parameters to run a subset of tests:
./out/cmake-debug/filament/test/test_filament --gtest_filter=Suite.TestName
2. Executing a Benchmark
Run compiled performance benchmarks from the release build output directories.
Example: Running filament benchmarks (Release)
./out/cmake-release/filament/benchmark/benchmark_filament
Filtering Benchmarks
Use standard Google Benchmark parameters to filter specific benchmarks:
./out/cmake-release/filament/benchmark/benchmark_filament --benchmark_filter=lutGeneration
Version History
- d8b4a37 Current 2026-08-20 07:30


