-
Notifications
You must be signed in to change notification settings - Fork 944
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
Fast follows for Unit Testing #4889
Comments
Add format types Add best practices for when to |
Add |
One more section here on "When to run your unit tests" Like the general best practice on "run your unit tests in dev / ci" but not in prod - and maybe some thoughts/best practices around warehouse sizing? |
|
docs for |
Likely out of scope of this PR, but do we have an open issue already for documenting For for backward compatibility tests: will be an alias for data_tests: in yml configuration files, but we will eventually deprecate tests:
|
Link to docs for |
We need to update the dbt build command page as well |
|
add overrides examples for vars, macros, and env_vars https://github.com/dbt-labs/dbt-core/blob/7df747ae04a8c99dbd745085f42cd4647ec71d80/tests/functional/unit_testing/fixtures.py#L82 |
IMPORTANT -> We should make it clear that unit tests must be defined in a YML file in your |
## What are you changing in this pull request and why? <!--- Describe your changes and why you're making them. If related to an open issue or a pull request on dbt Core, then link to them here! To learn more about the writing conventions used in the dbt Labs docs, see the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md). --> Add more docs / examples to overrides for unit testing - fast follow from here #4889 ## Checklist <!-- Uncomment when publishing docs for a prerelease version of dbt: - [ ] Add versioning components, as described in [Versioning Docs](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-entire-pages) - [ ] Add a note to the prerelease version [Migration Guide](https://github.com/dbt-labs/docs.getdbt.com/tree/current/website/docs/docs/dbt-versions/core-upgrade) --> - [ ] Review the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) so my content adheres to these guidelines. - [ ] For [docs versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#about-versioning), review how to [version a whole page](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version) and [version a block of content](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-blocks-of-content). - [ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch." Adding or removing pages (delete if not applicable): - [ ] Add/remove page in `website/sidebars.js` - [ ] Provide a unique filename for new pages - [ ] Add an entry for deleted pages in `website/static/_redirects` - [ ] Run link testing locally with `npm run build` to update the links that point to deleted pages
Created this issue and will follow up! |
Contributions
Link to the page on docs.getdbt.com requiring updates
https://docs.getdbt.com/reference/node-selection/methods#the-test_type-method
What part(s) of the page would you like to see updated?
can we update this page too with the new test_types
Additional information
No response
The text was updated successfully, but these errors were encountered: