Hive mind, do you employ (unit) testing in data analysis scripts? If so, how and what are your best practices?
We frequently develop packages with unit testing. But equally often write "run-once" analysis scripts/notebooks. Those often contain functions and (more often) assumptions on loaded data but we rarely test/check these. This is something to improve but I wonder how others handle this.