Commit a85923b
authored
docs: add explicit functional vs unit test scope rules to AGENTS.md (#1422)
Makes the unit vs functional test split explicit in AGENTS.md. The
current section distinguishes the two by where they live and how they
run, but the rule for *what each type should assert* was conveyed only
through examples. A contributor could reasonably put specific-warning or
compiled-SQL assertions in a functional test without tripping any review
signal (surfaced in #1421 review).
Adds two short paragraphs: the principle (functional = outcomes, unit =
specifics) and a note that trivial macro additions do not need a test.
### Checklist
- [x] I have run this code in development and it appears to resolve the
stated issue
- [x] This PR includes tests, or tests are not required/relevant for
this PR
- [ ] I have updated the `CHANGELOG.md` and added information about my
change to the "dbt-databricks next" section.
> Docs-only change; CHANGELOG entry intentionally omitted.1 parent 60efeae commit a85923b
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
88 | 94 | | |
89 | 95 | | |
90 | 96 | | |
| |||
0 commit comments