有没有办法在pg安装完成后,再重新跑pg的回归测试呢
德哥,您好,看了 https://github.com/digoal/blog/blob/master/201509/20150907_04.md
如何在安装完pg后再跑pg的test文件夹中的测试用例,看到里面有多种格式的用例,想要整体跑一下,并输出一个报告。
authentication/ Tests for authentication
examples/ Demonstration programs for libpq that double as regression tests via "make check"
isolation/ Tests for concurrent behavior at the SQL level
locale/ Sanity checks for locale data, encodings, etc
mb/ Tests for multibyte encoding (UTF-8) support
modules/ Extensions used only or mainly for test purposes, generally not suitable for installing in production databases
perl/ Infrastructure for Perl-based TAP tests
recovery/ Test suite for recovery and replication
regress/ PostgreSQL's main regression test suite, pg_regress
ssl/ Tests to exercise and verify SSL certificate handling
subscription/ Tests for logical replication
thread/ A thread-safety-testing utility used by configure
可以啊, 这个测试会创建一个单独的数据库来跑
可以啊, 这个测试会创建一个单独的数据库来跑
我的意思是比如PolarDB 迭代了一个版本,为了测试与PG原生的兼容性,想要对PG原生的测试用例全部跑一遍。有没有办法可以将这些用例封装到一起,可以更加方便的跑PG的原生测试用例呢。