Import Statement
@boolean_test
Tests that return a boolean (True/False) result.Signature
Parameters
Example
@expected_range
Tests that return a numeric value that should fall within a range. They can also return a list of numeric values or a pandas Series.Signature
Parameters
Example
@expected_values
Tests that return a value (or values) that should match one of a list of expected values.Signature
Parameters
Example
@row_count
Tests that return a Sized object (DataFrame, list, etc.) to check row count.Signature
Parameters
Example
Common Parameters
All decorators support these common parameters:name(required): Unique test nameseverity:"ERROR"or"WARNING"(default:"ERROR")description: Human-readable test descriptiontags: List of tags for categorizationowners: List of owner emails/usernamesmetadata: Dictionary of additional metadataskip: Boolean to skip the test
Return Types
@boolean_test: Must returnbool@expected_range: Must return numeric value (int or float)@expected_values: Can return any type that can be compared@row_count: Must return a Sized object (has__len__method)
Related Documentation
- Quickstart - Get started with test decorators
- API Reference - Overview of the SDK API
- Table Assets - Register tables and views in your data warehouse

