mimic-code icon indicating copy to clipboard operation
mimic-code copied to clipboard

Testing of build system

Open jeblundell opened this issue 10 years ago • 1 comments

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?

jeblundell avatar Sep 13 '16 22:09 jeblundell

This would also potentially double up as unit testing of contributed scripts.

jeblundell avatar Sep 13 '16 22:09 jeblundell