postgresql_16:4.18.5.2 Coverage with Meson
PostgreSQL 16 > Server Administration > Regression Tests > Test Coverage Examination > Coverage with Meson
A typical workflow looks like this: meson setup -Db_coverage=true ... OTHER OPTIONS ... builddir/ meson compile -C builddir/ meson test -C builddir/ cd builddir/ ninja coverage-html Then point your HTML browser to ./meson-logs/coveragereport/index.html.
You can run several different tests before making the coverage report; the execution counts will accumulate.