mimic-code
mimic-code copied to clipboard
Testing of build system
Issue raised from pull request #107: we need to figure out how to sensibly do testing of the build system.
I suppose a fairly minimalistic way would be to extract all the expected views (regex match on "create materialized view"/"drop materialized view" in clean.sql?) and then test if those views exist. Gold standard would be test dataset and the expected data in each materialized view (obviously a lot of work). Thoughts?
This would also potentially double up as unit testing of contributed scripts.