databricks-cli/internal/bundle
Pieter Noordhuis 241fcfffb0
Consolidate helper functions to `internal/testutil` package (#2002)
## Changes

This is one step (of many) toward moving the integration tests around.

This change consolidates the following functions:

* `ReadFile` / `WriteFile`
* `GetEnvOrSkipTest`
* `RandomName`

## Tests

n/a
2024-12-12 12:35:38 +00:00
..
bundles Fixed TestAccBundleDeployUcSchema test (#1997) 2024-12-11 14:00:43 +00:00
artifacts_test.go Consolidate helper functions to `internal/testutil` package (#2002) 2024-12-12 12:35:38 +00:00
basic_test.go Update Spark version in integration tests to 13.3 (#1375) 2024-04-19 11:31:54 +00:00
bind_resource_test.go Consolidate helper functions to `internal/testutil` package (#2002) 2024-12-12 12:35:38 +00:00
clusters_test.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
dashboards_test.go Consolidate helper functions to `internal/testutil` package (#2002) 2024-12-12 12:35:38 +00:00
deploy_test.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
deploy_then_remove_resources_test.go Don't merge-in remote resources during depolyments (#1432) 2024-05-15 12:41:44 +00:00
deploy_to_shared_test.go Added integration test to deploy bundle to /Shared root path (#1914) 2024-11-20 12:20:39 +00:00
deployment_state_test.go Consolidate helper functions to `internal/testutil` package (#2002) 2024-12-12 12:35:38 +00:00
destroy_test.go Fix bundle destroy integration test (#1435) 2024-05-16 09:32:55 +00:00
empty_bundle_test.go Use `acc.WorkspaceTest` helper from bundle integration tests (#1181) 2024-02-07 11:18:56 +00:00
environments_test.go Add error checking in tests and enable errcheck there (#1980) 2024-12-09 13:56:41 +01:00
generate_job_test.go Consolidate helper functions to `internal/testutil` package (#2002) 2024-12-12 12:35:38 +00:00
generate_pipeline_test.go Consolidate helper functions to `internal/testutil` package (#2002) 2024-12-12 12:35:38 +00:00
helpers.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
job_metadata_test.go Update Spark version in integration tests to 13.3 (#1375) 2024-04-19 11:31:54 +00:00
local_state_staleness_test.go Update Spark version in integration tests to 13.3 (#1375) 2024-04-19 11:31:54 +00:00
python_wheel_test.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
spark_jar_test.go Consolidate helper functions to `internal/testutil` package (#2002) 2024-12-12 12:35:38 +00:00
validate_test.go Consolidate helper functions to `internal/testutil` package (#2002) 2024-12-12 12:35:38 +00:00