Filament Desktop Testing
Testing & Qualityfilament-desktop-testingFilament Desktop Testing is an Agent Skill for testing & quality published in the google/filament repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Execute unit tests and performance benchmarks for Filament on desktop platforms. Use this skill to run and filter tests or benchmarks locally.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/google/filament/blob/HEAD/skills/filament_desktop_testing/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/filament-desktop-testing, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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