# Filament Desktop Testing

> Execute unit tests and performance benchmarks for Filament on desktop platforms. Use this skill to run and filter tests or benchmarks locally.

- Skill: `google/filament-desktop-testing` (Agent Skill)
- Install (CLI): `npx get-skill add google/filament-desktop-testing`
- Raw SKILL.md: https://api.skillmd.com/api/skills/google/filament-desktop-testing/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Google (https://skillmd.com/u/google)
- Updated: 2026-11-16
- Page: https://skillmd.com/skills/google/filament-desktop-testing

---


# 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)
```bash
./out/cmake-debug/libs/utils/test_utils
```

### Example: Running filament unit tests (Debug)
```bash
./out/cmake-debug/filament/test/test_filament
```

### Filtering Tests
Use standard Google Test (`gtest`) command-line parameters to run a subset of tests:
```bash
./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)
```bash
./out/cmake-release/filament/benchmark/benchmark_filament
```

### Filtering Benchmarks
Use standard Google Benchmark parameters to filter specific benchmarks:
```bash
./out/cmake-release/filament/benchmark/benchmark_filament --benchmark_filter=lutGeneration
```

