Skip to content
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

Docs for unit testing, data types #4930

Closed
1 task done
graciegoheen opened this issue Feb 15, 2024 · 6 comments · Fixed by #4975 or #5014
Closed
1 task done

Docs for unit testing, data types #4930

graciegoheen opened this issue Feb 15, 2024 · 6 comments · Fixed by #4975 or #5014
Assignees
Labels
content Improvements or additions to content dbt-core v1.8 improvement Use this when an area of the docs needs improvement as it's currently unclear unit testing docs for 1.8 unit testing

Comments

@graciegoheen
Copy link
Collaborator

graciegoheen commented Feb 15, 2024

Contributions

  • I have read the contribution docs, and understand what's expected of me.

Link to the page on docs.getdbt.com requiring updates

https://docs.getdbt.com/reference/resource-properties/unit-tests

What part(s) of the page would you like to see updated?

New section for data types

Similar to https://docs.getdbt.com/reference/resource-properties/constraints#platform-specific-support

Additional information

No response

@graciegoheen graciegoheen added content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear labels Feb 15, 2024
@graciegoheen graciegoheen added dbt-core v1.8 unit testing docs for 1.8 unit testing labels Feb 15, 2024
@runleonarun
Copy link
Collaborator

@graciegoheen Do you need Docs support on this? I think we should aim to have all issues addressed by Friday 2/23 to give reviewers and authors enough time.

@graciegoheen
Copy link
Collaborator Author

Lemme check in with Michelle, we can probably pair on this and I can tag you for a review!

@graciegoheen
Copy link
Collaborator Author

Known exceptions:

  • can't unit test for precision / correct data type (since dbt converts your mock data into the correct data type to execute the unit test)

@matthewshaver matthewshaver linked a pull request Feb 26, 2024 that will close this issue
3 tasks
@graciegoheen graciegoheen reopened this Feb 27, 2024
@graciegoheen
Copy link
Collaborator Author

Re-opening - this is different than the docs for the format config. Michelle and I will work on this, but this it not blocking for the beta

@matthewshaver
Copy link
Contributor

@graciegoheen Sorry about that. Is there a current doc to reference? I can get started

@graciegoheen
Copy link
Collaborator Author

@matthewshaver Here you go!

@matthewshaver matthewshaver linked a pull request Feb 28, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content dbt-core v1.8 improvement Use this when an area of the docs needs improvement as it's currently unclear unit testing docs for 1.8 unit testing
Projects
None yet
4 participants