Hi everyone Is there any feature that help to se...
# questions
Hi everyone Is there any feature that help to send notifications when a test fails?
Do you mean a unit test? If so, you can use your CI (continuous integration) of choice, such as GitHub Actions.
My case is the following. The data is uploaded weekly into a bucket. The problem is that the data is not formatted properly. Sometimes, it follows the standards. Other times, I have mistakes because it changes the type of variables. I want the before running the pipelines, I want to run a testing pipeline to check the data format. If this is well, it will run the rest of the pipeline. Otherwise, this has to send a notification to the user that data is not formatted properly. Is there any way to do this?
I think what you are looking for is a hook (likely
hook): https://docs.kedro.org/en/stable/hooks/introduction.html that you can combine with a library like
https://github.com/huggingface/knockknock to get a notification
👍 1
@Yolan Honoré-Rougé sounds what I want. But, at this point I’m wondering if I can use the tests inside the hooks?
It's not really a "test" in unit testing sense, but you can raise an error if an "assert" is false, and the pipeline will not run