cartodb-4.42/services/importer/spec/regression
2024-04-06 05:25:13 +00:00
..
failing first commit 2024-04-06 05:25:13 +00:00
files first commit 2024-04-06 05:25:13 +00:00
.gitignore first commit 2024-04-06 05:25:13 +00:00
query_batcher_spec.rb first commit 2024-04-06 05:25:13 +00:00
README.md first commit 2024-04-06 05:25:13 +00:00
regression.rb first commit 2024-04-06 05:25:13 +00: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