Developers can now define and execute BigQuery unit tests directly within Dataform workflows. The new BigQueryUnitTest schema supports defining test queries and expected outputs, while InvocationConfig adds an executionMode to toggle between running standard actions or unit tests (e.g., UNIT_TESTS_ONLY). Additionally, new authentication schemas (EndUserAuthConfig) allow for repository access via OAuth, enabling workflows to run under specific user identities.
Breaking Change: Several fields have been transitioned to readOnly (immutable). This includes test result metadata like totalBilledBytes, actualResultsJobId, and expectedResultsSqlScript in BigQueryUnitTestAction, as well as userEmail in EndUserAuthenticationConfig. Developers must ensure their automation scripts or API clients do not attempt to provide values for these fields in write operations, as they are now strictly output-only.