-
Notifications
You must be signed in to change notification settings - Fork 984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit testing Dev Blog post #5461
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking strong - thank you for getting this together Doug! One comment on some funky naming was my main flag for the content in this blog.
This does a good job of getting across the process of writing a unit test. Something I'd be keen for us to explore more in the near future is the process of building unit tests for your project. How and where should we be putting them in the project? What's the right number to include or the ways to think about integrating them.
That can come in a later post - this is very great and a natural starting place for our communications around unit testing.
Finally, run the model and all its tests in a single command like this: | ||
|
||
```shell | ||
dbt build --select hello |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something about this command doesn't sit right - wondering if we should give a more realistic model name
…t-labs/docs.getdbt.com into dbeatty/unit-testing-dev-blog
Preview
What are you changing in this pull request and why?
dbt version 1.8 includes a built-in unit testing framework to extend the capabilities of software engineering best practices for analytics engineers. This blog post gives an introduction to using unit tests to build trusted data sets.
Checklist