postgresql/src/test
Andres Freund ce38949ba2 Improve expression evaluation test coverage.
Upcoming patches are revamping expression evaluation significantly. It
therefore seems prudent to try to ensure that the coverage of the
existing evaluation code is high.

This commit adds coverage for the cases that can reasonably be
tested. There's still a bunch of unreachable error messages and such,
but otherwise this achieves nearly full regression test coverage (with
the exception of the unused GetAttributeByNum/GetAttributeByName).

Author: Andres Freund
Discussion: https://postgr.es/m/20170310194021.ek4bs4bl2khxkmll@alap3.anarazel.de
2017-03-11 15:41:34 -08:00
..
examples Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
isolation Fix inclusions of postgres_fe.h from .h files. 2017-03-08 20:41:06 -05:00
locale Use 'use strict' in all Perl programs 2017-01-05 12:34:48 -05:00
mb Revert "Fix broken multibyte regression tests." 2016-01-26 08:29:15 +09:00
modules Remove deprecated COMMENT ON RULE syntax 2017-02-23 08:19:52 -05:00
perl Enable replication connections by default in pg_hba.conf 2017-03-09 08:39:44 -05:00
recovery TAP tests for target_session_attrs connection parameter. 2017-02-26 23:41:23 +05:30
regress Improve expression evaluation test coverage. 2017-03-11 15:41:34 -08:00
ssl Fix typos in comments. 2017-02-06 11:33:58 +02:00
subscription Fix parsing of DROP SUBSCRIPTION ... DROP SLOT 2017-03-03 23:29:13 -05:00
thread Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
Makefile Logical replication 2017-01-20 09:04:49 -05:00
README Mention logical replication tests in src/test/README. 2017-01-24 12:57:25 +09:00

README

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

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