QuestionQ11

Verified

Your tests folder has the following structure:

tests/  
├── generic/  
│   └── furniture_customers_test.sql  
├── macro_stg_tpch_orders_assert_pos_price.sql  
├── macro_stg_tpch_suppliers_assert_pos_acct_bal.sql  
└── stg_tpch_orders_assert_positive_price.sql  

You run this command:

dbt test --select 'test_type: singular'  

What will this command run?

Options from screenshot:

Explanation

The intended selection is the three singular SQL tests outside tests/generic/; the generic directory is reserved for generic test definitions. However, the documented selector is test_type:singular, with no space after the colon. As written, the command does not express that selector correctly, so none of the choices reliably describes its result. (docs.getdbt.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!