-
Notifications
You must be signed in to change notification settings - Fork 982
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
Update testing-sources.md for docs on running all source tests #4551
Conversation
The documentation advises on running the `dbt test --select source:*` command for running tests on all sources. However, this syntax (with the asterisk), is not something the CLI is too happy with. Double quoting the selector resolves the error.
Hello!👋 Thanks for contributing to the dbt product documentation and opening this pull request! ✨ |
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.
hey @anubhavsharma515 thanks so much for opening this up and great callout! I'll get this merged for you! really appreciate this and looking forward to future contributions ✨
The documentation advises on running the
dbt test --select source:*
command for running tests on all sources. However, this syntax (with the asterisk), is not something the CLI is too happy with. Double quoting the selector resolves the error.What are you changing in this pull request and why?
When reviewing the documentation here, specifically for running tests on all sources, my CLI throws the following error:
I believe this is as a result of the syntax rules for commands in CLI's. The proposed change follows the syntax here on dbt docs, so there's no new pattern being set.
Checklist