Selective Test Execution in Dataform CLI #2006
uchiuzo-sansan
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Statement
Currently, when running tests using the Dataform CLI, all tests in the repository are executed regardless of the specific needs of the developer. This creates several issues:
Proposed Solution
Implement the ability to specify specific actions when running tests, similar to how actions can be specified during execution. This would allow developers to run only the tests they need.
Suggested Implementation
Add support for action filtering in test commands, allowing syntax like:
Benefits
dataform run
commandUse Cases
Current Workaround
Currently, developers must either:
Compatibility
This enhancement should maintain backward compatibility - running
dataform test
without arguments should continue to execute all tests as it currently does.This feature would significantly improve the developer experience for teams working with large Dataform projects and align the testing workflow with the existing execution patterns already familiar to users.
Beta Was this translation helpful? Give feedback.
All reactions