Overview
This documentation will guide you through the process of generating child tests for specific metadata objects in Validatar using the 'Metadata Driven' object selection option.
Understanding Metadata-Driven Object Selection
The 'Metadata Driven' object selection option allows users to populate a template test with specific metadata objects stored in Validatar. It leverages the schema metadata ingested into the platform to fill the tests.
Ensure that you are aware of the data source selected for the test data set, as the metadata displayed in the Metadata Driven options is based on this selection, especially if you are comparing it against another dataset on the control side
Choosing Between Metadata Filters and Specific Objects
Metadata Filters: These are best used when users want to apply a set of rules across multiple metadata objects. Filters provide an efficient way to populate a template test with objects that meet specific criteria.
Specific Object Selection: This approach is suitable when users want precise control over which metadata objects populate a test. It allows for hand-picking of objects, ensuring that only the most relevant objects are included.
How to Use Metadata Filters
You can apply filters on schema, table, and column-level fields to narrow down the metadata that will populate the test:
Navigate to the 'Metadata Selection' tab.
Apply filters according to your preference.
Preview the objects to ensure the list is complete.
How to Select Specific Metadata Objects
In some cases, you may want to specifically select metadata objects to complete the metadata list:
Use the search function to find the desired metadata objects.
Select the objects that you want to include.
Preview the objects to ensure the list is complete.
Conclusion
The feature of generating child tests for specific metadata objects in Validatar enables users to customize their tests to a great extent. By either using metadata filters or selecting specific metadata objects, users can create more targeted and efficient tests. Remember to note the data source selected for the test data set, as it dictates the metadata options available. By leveraging this feature, users can optimize their testing process, focusing on the most relevant and impactful data elements.