Skip to content

Tweak import test

Markus Koller requested to merge features/import-testing into develop

https://trello.com/c/Fw5QHLZH/113-import-testen

The test failed at first because the Excel files are 2 days newer than the Access DB, so I cleaned it up a bit to improve the error reporting.

To run the test:

  • install mdbtools
  • place Excel files from Google Drive into lib/access_import_test
  • place Access DB somewhere else
  • import into test DB with rails access:import RAILS_ENV=test file=volunteers_data.accdb
  • run test with rails test lib/access_import_test/access_imports_test.rb
Edited by Markus Koller

Merge request reports