Releases: EqualExperts/dbt-unit-testing
Releases · EqualExperts/dbt-unit-testing
0.3.0rc1
0.2.8
0.2.7
v0.2.6
v0.2.5
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
dbt-unit-testing v0.2.0 - Aug 4, 2022
🚨 Breaking changes
The mocking strategies were deprecated.
We added two options to accomplish more or less the same results:
- use_database_models
- include_missing_columns
To help you to migrate from the older mocking strategies take a look at the following table that contains the new options correspondence:
Mocking Strategy (deprecated) | use_database_models | include_missing_columns |
---|---|---|
Pure | FALSE | FALSE |
Full | FALSE | TRUE |
Simplified | TRUE | FALSE |
Database | TRUE | TRUE |
The default behaviour of the framework (both options set to FALSE) is equivalent to the old Pure mocking strategy.
New Features
- Add support for dbt version v1.3
- Add an option to use existing database models
- Add an option to include missing columns in mocks
- Add an option to qualify sources on CTEs
- Add support for comments at the end of the models' SQL
Fixes
- Fix bug when comparing expectations with identical rows (Bigquery only)