dbt-labs/dbt-docs

[CT-3371] Include unit tests in dbt docs

Closed this issue · 3 comments

Describe the feature

  • add unit tests to dbt docs
    • listed in the models page (similar to where data tests are listed today)
    • with an accompanying page showing the fixtures being used
  • update instances of "tests" to "data tests" when relevant

Run

Could you add some specifics to this? Do you want the unit tests listed in the "Referenced By" tab for the model?

What does "with an accompanying page showing the fixtures being used" mean? How would you get to the "accompanying page"? What does it look like?

@gshank Yes, I think it would be great to add the unit tests listed in the "Referenced By" tab for the model. Something like this:
Screenshot 2024-02-27 at 12 49 15 PM

From there I can click into a page for the data test:
Screenshot 2024-02-27 at 12 50 52 PM

Would be nice to have some similar page you could click into for the unit test with the description, depends on, and such.