- 
                Notifications
    You must be signed in to change notification settings 
- Fork 69
How is pg_pathman tested?
        Dmitry Ivanov edited this page Jun 6, 2017 
        ·
        2 revisions
      
    In order to test pg_pathman, we use several facilities:
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).
This tool allows us to measure code coverage in order to improve existing tests and write new ones.
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.