dbt-labs / dbt-docs

Auto-generated data documentation site for dbt projects
Apache License 2.0
139 stars 74 forks source link

Add unit tests to dbt docs #496

Closed github-actions[bot] closed 5 months ago

github-actions[bot] commented 6 months ago

Auto generated changes from generate-docs-for-dbt-core.yml workflow

graciegoheen commented 6 months ago

I like the new toggle under Referenced by for unit tests! Screenshot 2024-03-01 at 10 28 05 AM

When I click into unit test page, I see a blank section for the code: Screenshot 2024-03-01 at 10 28 27 AM

Can we eliminate this section entirely? Or we could put in the YML for the test definition and the compiled code if we have access to it. Either way is fine with. me!

gshank commented 6 months ago

I did eliminate that section completely. However it seemed to hang around for me afterward for some reason too, but then I refreshed something and it went away. Which branch did you use to test?

gshank commented 6 months ago

I tried again and it does seem to be using the wrong page. Randomly.

gshank commented 6 months ago

Okay, it should be working now. I needed to specify the unit_test template someplace

dbeatty10 commented 5 months ago

There were some small conflicts. I just resolved them now.