You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We don't have an example and documentation around testing hamilton code. It's more straightforward than people think, e.g. some think that with decorators testing becomes harder.
Describe the solution you'd like
A section in the User Guide on writing tests.
This should cover unit testing functions without decorators, and functions with decorators.
This should cover integration testing parts of a DAG - using overrides to show how to run various parts of the graph.
This should cover how test custom materializers -- basically just show an example of how we test the in built ones. E.g. create a resource folder with python code, or use create_adhoc_module from adhoc_utils.
Describe alternatives you've considered
N/A
Additional context
You can largely see how the Hamilton tests work for an idea for content/material.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We don't have an example and documentation around testing hamilton code. It's more straightforward than people think, e.g. some think that with decorators testing becomes harder.
Describe the solution you'd like
Describe alternatives you've considered
N/A
Additional context
You can largely see how the Hamilton tests work for an idea for content/material.
The text was updated successfully, but these errors were encountered: