The problem I’m having
When trying to run unit tests I get the following error
dbt test --select test_type:unit --debug
...
The selection criterion 'test_type:unit' does not match any enabled nodes
...
The context of why I’m trying to do this
Following the guide here I would like to improve test coverage in the project
What I’ve already tried
Verify I am at 1.8+
dbt --version
Loading .env environment variables...
Core:
- installed: 1.9.2
...
Plugins:
- snowflake: 1.9.2
...
dbt test --select "the_model,test_type:unit"
dbt test --select test_type:unit --debug
There doesn’t seem to be any yml parsing errors
yml structure
unit_tests:
- name: my_test
description: Test foobar table
model: the_model
overrides:
macros:
is_incremental: false
given:
- input: ref('the_ref')
rows:
- { fake data }
- { more_data }
expect:
rows:
- { the row}
Im hoping I fat fingered something or am missing something obvious