Fixes in test framework generator
The following changes have been made to the test framework generator:
- Several bug fixes
- Dropped distinction between test framework and test framework for packages
generateInsertSql()
andgenerateTestSql()
now have adatabaseSchema
argument, allowing to specify the database or schema to be used in the SQL.- Major refactoring, allowing for better code extensibility (1)
(1) ironically, for this to work I had to drop the RedShift-optimized variant. You can still run the test framework on RedShift by using SqlRender to translate the SQL to the RedShift dialect, but it will be slower.