databricks-cli/internal/testutil
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
..
cloud.go Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +00:00
copy.go Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +00:00
env.go Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +00:00
file.go Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +00:00
helpers.go Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +00:00
interface.go Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +00:00
jdk.go Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +00:00
requirement.go Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +00:00
testutil_test.go Define and use `testutil.TestingT` interface (#2003) 2024-12-12 14:42:15 +00:00