Add README in src/test and src/test/modules

Author: Craig Ringer
Reviewed by: Michaël Paquier
This commit is contained in:
Alvaro Herrera 2016-02-25 21:08:32 -03:00
parent 343f709c06
commit bda0b08198
2 changed files with 51 additions and 0 deletions

38
src/test/README Normal file
View File

@ -0,0 +1,38 @@
PostgreSQL tests
================
This directory contains a variety of test infrastructure as well as some of the
tests in PostgreSQL. Not all tests are here -- in particular, there are more in
individual contrib/ modules and in src/bin.
Not all these tests get run by "make check". Check src/test/Makefile to see
which tests get run automatically.
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
regress/
PostgreSQL's main regression test suite, pg_regress
ssl/
Tests to exercise and verify SSL certificate handling
thread/
A thread-safety-testing utility used by configure

13
src/test/modules/README Normal file
View File

@ -0,0 +1,13 @@
Test extensions and libraries
=============================
src/test/modules contains PostgreSQL extensions that are primarily or entirely
intended for testing PostgreSQL and/or to serve as example code. The extensions
here aren't intended to be installed in a production server and aren't suitable
for "real work".
Most extensions have their own pg_regress tests or isolationtester specs. Some
are also used by tests elsewhere in the tree.
If you're adding new hooks or other functionality exposed as C-level API this
is where to add the tests for it.