Skip to content

Commit

Permalink
Update website/blog/2024-11-27-test-smarter-part-2.md
Browse files Browse the repository at this point in the history
Co-authored-by: Joel Labes <[email protected]>
  • Loading branch information
faithebear and joellabes authored Dec 2, 2024
1 parent 8c102ce commit 6fa205b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/blog/2024-11-27-test-smarter-part-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ In your intermediate layer, focus on data hygiene and anomaly tests for new colu
- Add simple anomaly tests to verify the behavior of your sets of joins and aggregations. This may look like:
- An [accepted_values](/reference/resource-properties/data-tests#accepted_values) test on a newly calculated categorical column.

Check warning on line 77 in website/blog/2024-11-27-test-smarter-part-2.md

View workflow job for this annotation

GitHub Actions / vale

[vale] website/blog/2024-11-27-test-smarter-part-2.md#L77

[custom.Typos] Oops there's a typo -- did you really mean 'accepted_values'?
Raw output
{"message": "[custom.Typos] Oops there's a typo -- did you really mean 'accepted_values'? ", "location": {"path": "website/blog/2024-11-27-test-smarter-part-2.md", "range": {"start": {"line": 77, "column": 15}}}, "severity": "WARNING"}
- A [mutually_exclusive_ranges](https://github.com/dbt-labs/dbt-utils#mutually_exclusive_ranges-source) test on two columns whose values behave in relation to one another (ex: asserting age ranges do not overlap).

Check warning on line 78 in website/blog/2024-11-27-test-smarter-part-2.md

View workflow job for this annotation

GitHub Actions / vale

[vale] website/blog/2024-11-27-test-smarter-part-2.md#L78

[custom.Typos] Oops there's a typo -- did you really mean 'mutually_exclusive_ranges'?
Raw output
{"message": "[custom.Typos] Oops there's a typo -- did you really mean 'mutually_exclusive_ranges'? ", "location": {"path": "website/blog/2024-11-27-test-smarter-part-2.md", "range": {"start": {"line": 78, "column": 14}}}, "severity": "WARNING"}
- A [not_constant](https://docs.getdbt.com/reference/resource-properties/data-tests#accepted_values) test on a column whose value should be continually changing (ex: page view counts on website analytics).
- A [not_constant](https://github.com/dbt-labs/dbt-utils#not_constant-source) test on a column whose value should be continually changing (ex: page view counts on website analytics).

Check warning on line 79 in website/blog/2024-11-27-test-smarter-part-2.md

View workflow job for this annotation

GitHub Actions / vale

[vale] website/blog/2024-11-27-test-smarter-part-2.md#L79

[custom.Typos] Oops there's a typo -- did you really mean 'not_constant'?
Raw output
{"message": "[custom.Typos] Oops there's a typo -- did you really mean 'not_constant'? ", "location": {"path": "website/blog/2024-11-27-test-smarter-part-2.md", "range": {"start": {"line": 79, "column": 14}}}, "severity": "WARNING"}
- Intermediate models may isolate complex operations.
- The anomaly tests we list above may suffice here.
- You might also consider [unit testing](https://docs.getdbt.com/docs/build/unit-tests) any particularly complex pieces of SQL logic.
Expand Down

0 comments on commit 6fa205b

Please sign in to comment.