[postgis-commits] svn - r2561 - in trunk: . regress

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Wed Dec 20 12:43:07 PST 2006


Author: strk
Date: 2006-12-20 12:43:05 -0800 (Wed, 20 Dec 2006)
New Revision: 2561

Modified:
   trunk/ChangeLog
   trunk/regress/README
Log:
* regress/README: wrote info about adding regression tests
(plus some ChangeLog formatting)


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-12-20 18:47:27 UTC (rev 2560)
+++ trunk/ChangeLog	2006-12-20 20:43:05 UTC (rev 2561)
@@ -1,8 +1,15 @@
+2006-12-20 Sandro Santilli <strk at refractions.net>
+
+	* regress/README: wrote info about adding regression tests
+
 2006-12-20 Kevein Neufeld <kneufeld at refractions.net>
-    * lwgeom/lwgeom_gist.c
-      Added fix to permit gist indexes to have more than 459 null geometries in a table
 
+	* lwgeom/lwgeom_gist.c
+	  Added fix to permit gist indexes to have more than 459 null
+	  geometries in a table
+
 2006-12-15 Markus Schaber <schabi at logix-tt.com>
+
         * java/jdbc/Makefile
           Fixed Makefile for jts tests, commented debug options better
           

Modified: trunk/regress/README
===================================================================
--- trunk/regress/README	2006-12-20 18:47:27 UTC (rev 2560)
+++ trunk/regress/README	2006-12-20 20:43:05 UTC (rev 2561)
@@ -1,3 +1,13 @@
+How to add a regression test
+----------------------------
+
+1. Write a /regress/<testname>.sql file with data and sql queries for testing
+2. Write a /regress/<testname>_expected file with expected results per query
+3. Edit regress/Makefile adding <testname> to the TESTS variable.
+
+Notes about changes in regression tests introduces with PostGIS 1.1.0
+---------------------------------------------------------------------
+
 - Mixed-dimensioned geometries are no longer supported
   (previous behaviour was to fill Z with a 0 value)
   [ updated to use new behaviour ]



More information about the postgis-commits mailing list