You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb-postgresql/test
Kartones 3c5251e6c6
CDB-3303 Cartodbfication also supporting optional schemas
10 years ago
..
organization added delete permission with write permission for organization 10 years ago
perf Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_CartodbfyTableTest.sql CDB-3303 Cartodbfication also supporting optional schemas 10 years ago
CDB_CartodbfyTableTest_expect Do not add unique index on cartodb_id if already a primary key 10 years ago
CDB_DigitSeparatorTest.sql Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_DigitSeparatorTest_expect Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_HeadsTailsBinsTest.sql Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_HeadsTailsBinsTest_expect Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_HexagonTest.sql Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_HexagonTest_expect Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_JenksBinsTest.sql Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_JenksBinsTest_expect Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_QuantileBinsTest.sql Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_QuantileBinsTest_expect Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_QueryStatementsTest.sql Fix potential infinite loop in CDB_QueryStatements 10 years ago
CDB_QueryStatementsTest_expect Fix potential infinite loop in CDB_QueryStatements 10 years ago
CDB_QueryTablesTest.sql CDB_QueryTables return tables with schema 10 years ago
CDB_QueryTablesTest_expect CDB_QueryTables return tables with schema 10 years ago
CDB_QuotaTest.sql CDB-3303 Cartodbfication also supporting optional schemas 10 years ago
CDB_QuotaTest_expect Do not allow cartodbfying tables while no user quota is set 11 years ago
CDB_TransformToWebmercatorTest.sql Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_TransformToWebmercatorTest_expect Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_UserTablesTest.sql Rename test to have "Test" suffix 10 years ago
CDB_UserTablesTest_expect Rename test to have "Test" suffix 10 years ago
CDB_XYZ_ExtentTest.sql Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
CDB_XYZ_ExtentTest_expect Import cartodb/lib/sql/test, add search_path tweaker 11 years ago
Makefile Re-add the test/Makefile which was available while in cartodb/lib/sql 11 years ago
README Add instructions about adding a test 10 years ago

README

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