This update introduces a native unit testing framework for BigQuery within Dataform. Developers can now define BigQueryUnitTest resources with specific testQuery and expectedOutputQuery fields. To support this, InvocationConfig now includes an executionMode enum, allowing you to run only unit tests, exclude them, or use the default execution path. Additionally, EndUserAuthenticationConfig has been added to support OAuth-based authentication for repository invocations as an alternative to service accounts.
Breaking Change: Several fields in the new schemas have been marked as readOnly. Specifically, in BigQueryUnitTestAction, fields like actualResultsJobId, expectedResultsJobId, totalBilledBytes, and totalProcessedBytes are now immutable output-only fields. Similarly, userEmail in EndUserAuthenticationConfig and bigqueryUnitTestAction in WorkflowInvocationAction are now read-only. Developers must ensure their API calls do not attempt to write to these fields.