pub(super) fn lower_unit_test(
test: &UnitTest,
target_stmt: &Statement,
target_fqn: &FullyQualifiedName,
) -> Result<Vec<String>, String>Expand description
Lower a unit test into executable SQL statements.
Returns a vector of SQL strings in order:
- CREATE TEMPORARY VIEW for each mock
- CREATE TEMPORARY VIEW for expected
- CREATE TEMPORARY VIEW for the target (flattened)
- Test query with status column