SuperAPI AI Directory

filament-desktop-testing

Testing & quality

View repository

Updated 10-15 21:53

About this skill

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