saurabh18cs
Honored Contributor III

Performing code coverage on notebooks in Databricks can be challenging because notebooks are typically used for interactive development and analysis rather than structured software development.As you mentioned, you have already moved the code from the notebook to a Scala package and added it into a Scala object. This is a good practice as it allows you to write unit tests and measure code coverage more effectively.