mirror of https://github.com/databricks/cli.git
Provide instructions for testing in the default-python template (#2355)
## Changes Adds instructions for testing to the default-python template. ## Tests - Unit & acceptance tests.
This commit is contained in:
parent
c0a56a93fb
commit
bc30d44097
|
@ -37,10 +37,12 @@ The 'my_default_python' project was generated by using the default-python templa
|
||||||
```
|
```
|
||||||
$ databricks bundle run
|
$ databricks bundle run
|
||||||
```
|
```
|
||||||
|
6. Optionally, install the Databricks extension for Visual Studio code for local development from
|
||||||
6. Optionally, install developer tools such as the Databricks extension for Visual Studio Code from
|
https://docs.databricks.com/dev-tools/vscode-ext.html. It can configure your
|
||||||
https://docs.databricks.com/dev-tools/vscode-ext.html. Or read the "getting started" documentation for
|
virtual environment and setup Databricks Connect for running unit tests locally.
|
||||||
**Databricks Connect** for instructions on running the included Python code from a different IDE.
|
When not using these tools, consult your development environment's documentation
|
||||||
|
and/or the documentation for Databricks Connect for manually setting up your environment
|
||||||
|
(https://docs.databricks.com/en/dev-tools/databricks-connect/python/index.html).
|
||||||
|
|
||||||
7. For documentation on the Databricks asset bundles format used
|
7. For documentation on the Databricks asset bundles format used
|
||||||
for this project, and for CI/CD configuration, see
|
for this project, and for CI/CD configuration, see
|
||||||
|
|
|
@ -38,10 +38,16 @@ The '{{.project_name}}' project was generated by using the default-python templa
|
||||||
$ databricks bundle run
|
$ databricks bundle run
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{{- if (eq .include_python "no") }}
|
||||||
6. Optionally, install developer tools such as the Databricks extension for Visual Studio Code from
|
6. Optionally, install developer tools such as the Databricks extension for Visual Studio Code from
|
||||||
https://docs.databricks.com/dev-tools/vscode-ext.html.
|
https://docs.databricks.com/dev-tools/vscode-ext.html.
|
||||||
{{- if (eq .include_python "yes") }} Or read the "getting started" documentation for
|
{{- else }}
|
||||||
**Databricks Connect** for instructions on running the included Python code from a different IDE.
|
6. Optionally, install the Databricks extension for Visual Studio code for local development from
|
||||||
|
https://docs.databricks.com/dev-tools/vscode-ext.html. It can configure your
|
||||||
|
virtual environment and setup Databricks Connect for running unit tests locally.
|
||||||
|
When not using these tools, consult your development environment's documentation
|
||||||
|
and/or the documentation for Databricks Connect for manually setting up your environment
|
||||||
|
(https://docs.databricks.com/en/dev-tools/databricks-connect/python/index.html).
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|
||||||
7. For documentation on the Databricks asset bundles format used
|
7. For documentation on the Databricks asset bundles format used
|
||||||
|
|
Loading…
Reference in New Issue