Hi all, someone know a good tutorial about how to integrate unit_tests on databricks ?
02/23/2023, 12:34 PM
You can write unit tests that are run locally and then package them up in a wheel file with functions that are invoked on the Databricks platform. That’s how I’ve done it traditionally. I created the chispa test helper library that you might find useful when writing your tests: https://github.com/MrPowers/chispa
02/28/2023, 4:46 PM
@Matthew Powers thanks for the content, have some video/tutorial explaining about how to package up into databricks env ?
02/28/2023, 5:13 PM
I don’t have a guide handy, but for a poetry project, you can just run
, attach the generated wheel file to a cluster, and then invoke functions as you normally would