cartodb-4.29/services/importer/spec/regression
2020-06-15 10:58:47 +08:00
..
failing Initial commit 2020-06-15 10:58:47 +08:00
files Initial commit 2020-06-15 10:58:47 +08:00
.gitignore Initial commit 2020-06-15 10:58:47 +08:00
query_batcher_spec.rb Initial commit 2020-06-15 10:58:47 +08:00
README.md Initial commit 2020-06-15 10:58:47 +08:00
regression.rb Initial commit 2020-06-15 10:58:47 +08:00

Importer regression tests

To make this work, create the file ../factories/database.json with the correct configuration to the PostgreSQL DB (see ../factories/database.json.sample).

Then you just need to run:

ruby regression.rb

It will automatically test importing all the files on the files/ folder.

To choose a different folder use:

TEST_FOLDER=/home/me/my_files/ ruby regression.rb