Files
cartodb-postgresql/test
Raúl Marín 9010642326 Revert "Revert 0.33.0"
This reverts commit 24cb6cf9c1.
2019-12-24 00:33:35 +01:00
..
2019-12-24 00:33:35 +01:00
2019-05-31 15:52:55 +02:00
2016-10-11 17:49:50 +02:00
2015-06-08 15:01:50 -04:00
2015-06-08 15:01:50 -04:00
2019-12-24 00:33:35 +01:00
2019-10-22 20:13:38 +02:00
2019-03-14 11:47:41 +01:00
2018-02-15 10:27:19 +01:00
2018-02-15 10:27:19 +01:00
2014-08-19 18:09:27 +02:00
2014-08-19 18:09:27 +02:00
2017-12-05 16:24:11 -05:00
2017-04-10 12:17:47 +02:00
2017-04-10 12:17:47 +02:00
2018-02-15 10:27:19 +01:00
2018-02-15 10:27:19 +01:00
2019-12-24 00:33:35 +01:00
2019-12-24 00:33:35 +01:00
2019-03-08 12:03:55 +01:00
2019-10-28 16:14:45 +01:00

Adding tests consists in adding 2 files in this directory: one file
containing the sql code and another containing the expected output.

Example, to add a test for CDB_Something function, you'd add:

 - CDB_SomethingTest.sql
 - CDB_SomethingTest_expect


To easy the generation of the expected file you can initially omit it,
then run "make -C .. installcheck" from the top-level dir and copy
../results/test/CDB_SomethingTest.out to CDB_SomethingTest_expect chopping
off the first line:

 make -C .. installcheck
 tail -n +2 ../results/test/CDB_SomethingTest.out > CDB_SomethingTest_expect