databricks-cli/libs/testdiff
Pieter Noordhuis 50f62692ce
Include a materialized copy of built-in templates (#2146)
## Changes

Include a materialized copy of built-in templates as reference output.

This updates the output comparison logic to work against an output
directory. The `doComparison` function now always works on real files.
It can now tell apart non-existing files and empty files (e.g., the
`.gitkeep` files in templates).
2025-01-17 15:03:59 +00:00
..
context.go Use regular expressions for testdiff replacements (#2151) 2025-01-15 12:15:23 +01:00
context_test.go Use regular expressions for testdiff replacements (#2151) 2025-01-15 12:15:23 +01:00
golden.go Use regular expressions for testdiff replacements (#2151) 2025-01-15 12:15:23 +01:00
replacement.go Introduce $DATABRICKS_URL replacement in tests (#2158) 2025-01-15 17:24:12 +01:00
replacement_test.go Use regular expressions for testdiff replacements (#2151) 2025-01-15 12:15:23 +01:00
testdiff.go Include a materialized copy of built-in templates (#2146) 2025-01-17 15:03:59 +00:00
testdiff_test.go Add tests for default-python template on different Python versions (#2025) 2024-12-20 14:40:54 +00:00