timescale / promscale_extension

[DEPRECATED] Tables, types and functions supporting Promscale
Other
37 stars 17 forks source link

Use pgtap parser to interpret test results where possible #568

Closed JamesGuthrie closed 1 year ago

JamesGuthrie commented 1 year ago

Description

Until now, we have used the snapshot mechanism for pgTAP tests. This works, but adds additional steps to creating or modifying a test.

This change adds a minimal pgTAP test output parser, and applies it to the output of our sql tests, falling back to the snapshot mechanism if the test output is not identified as containing pgTAP output.

Merge requirements

Please take into account the following non-code changes that you may need to make with your PR: