QuestionQ37VerifiedCopy linkReport a problemAsk AstroTutorSave questionWhich statement about writing generic tests is true? Choose 1 option.AThey should accept one or both of these arguments: model and column_name.BThey must contain a {{ ref() }} snippet to a model.CThey do not need to be specified under a model's YAML configurations.DThey should always accept a column_name.EThey are written using the {% macro %} wrapper.Show AnswerAnswerExplanationGeneric tests should accept one or both standard arguments: model identifies the resource being tested, and column_name identifies the column for a column-level test. Generic tests are defined using {% test %} blocks. (docs.getdbt.com)Learn moreWriting custom generic data testsShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion