Skip to content

How is pg_pathman tested?

Dmitry Ivanov edited this page Jun 6, 2017 · 2 revisions

Introduction

In order to test pg_pathman, we use several facilities:

Travis CI

Travis CI runs a group of regression tests, testgres-based tests, and also a small cmocka-based test for a subsystem that's crucial for partition pruning. We build pg_pathman against PostgreSQL 9.5, 9.6 and 10. For static code analysis we use Clang Static Analyzer and Cppcheck (-std=c89).

Codecov.io

This tool allows us to measure code coverage in order to improve existing tests and write new ones.

PGBuildFarm

In-house PGBuildFarm facility is used to run pg_pathman in various configurations (Ubuntu, Debian, Fedora, Astra, Solaris and so on), which helps us in finding treacherous bugs that were able to hide from Travis CI.

Clone this wiki locally