databricks-cli/internal/bundle
Pieter Noordhuis dd3b7ec450
Define and use `testutil.TestingT` interface (#2003)
## Changes

Using an interface instead of a concrete type means we can pass
`*testing.T` directly or any wrapper type that implements a superset of
this interface. It prepares for more broad use of `acc.WorkspaceT`,
which enhances the testing object with helper functions for using a
Databricks workspace.

This eliminates the need to dereference a `*testing.T` field on a
wrapper type.

## Tests

n/a
2024-12-12 14:42:15 +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 Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +00: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 Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +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 Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +00: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 Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +00: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