lookml-tests
Installation
SKILL.md
LookML Testing Standards
Testing is critical for maintaining trust in data. LookML tests allow us to verify that our semantic model behaves as expected and that the underlying data conforms to our assumptions.
1. File Organization
- Location: Define tests in
tests/[explore_name].test.lkml. - One Suite Per Explore: Each file should contain all the test definitions for a specific Explore.
- Naming Convention:
[explore_name].test.lkml(e.g.,orders.test.lkml).
2. Test Structure
Each test consists of an explore_source query and an assert statement.