databricks-local-testing
Generate pytest suites for Databricks PySpark code that run locally without a cluster. Handles dbutils mocking (fs, secrets, widgets), SparkSession fixtures, display() stubs, and DataFrame assertions. Use when: writing unit tests, testing locally, mocking dbutils, pytest databricks, local testing, CI/CD testing, test pyspark, mock secrets, mock widgets, test without cluster, assertDataFrameEqual, conftest fixtures.
Pinned to revision 05cff3d0ec12, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.