QuestionQ8
Validation TestingA Machine Learning Engineer has defined a model with Python notebooks in a Databricks Git folder and wants to add unit tests to their CI/CD workflow. They need a workflow that is highly automated and straightforward to maintain.
Which strategy should they use?
- A Use the %sh and -m shell commands to call the unit test module inside the notebook.
- B Use the web terminal to run unit tests in the source code before each commit.
- C Use Databricks GitHub Actions to run notebook tests before each commit.
- D Use the %run magic command to call the unit test module from another notebook.
Community Discussion