databricks-cli/integration/bundle
Denis Bilenko e0952491c9
Add tests for default-python template on different Python versions (#2025)
## Changes
Add new type of test helpers that run the command and compare full
output (golden files approach).

In case of JSON, there is also an option to ignore certain paths.

Add test for different versions of Python to go through bundle init
default-python / validate / deploy / summary.

## Tests
New integration tests.
2024-12-20 14:40:54 +00:00
..
bundles Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
testdata Add tests for default-python template on different Python versions (#2025) 2024-12-20 14:40:54 +00:00
artifacts_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
basic_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
bind_resource_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
clusters_test.go Remove superfluous helper (#2028) 2024-12-17 17:34:09 +00:00
dashboards_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
deploy_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
deploy_then_remove_resources_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
deploy_to_shared_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
deployment_state_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
destroy_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
empty_bundle_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
environments_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
generate_job_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
generate_pipeline_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
helpers_test.go Refactor initTestTemplate/deployBundle/destroyBundle to not return errors (#2017) 2024-12-16 13:41:32 +01:00
init_default_python_test.go Add tests for default-python template on different Python versions (#2025) 2024-12-20 14:40:54 +00:00
init_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
job_metadata_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
local_state_staleness_test.go Move integration test helpers to `integration/internal` (#2022) 2024-12-17 08:45:58 +01:00
main_test.go Move integration tests to `integration` package (#2009) 2024-12-13 15:38:58 +01:00
python_wheel_test.go Remove superfluous helper (#2028) 2024-12-17 17:34:09 +00:00
spark_jar_test.go Skip job runs during integration testing for PRs (#2024) 2024-12-17 17:16:58 +00:00
validate_test.go Remove calls to `testutil.GetEnvOrSkipTest(t, "CLOUD_ENV")` (#2014) 2024-12-13 16:09:51 +00:00