Commit f10cdfa
committed
docs: add functional vs unit test scope rules to AGENTS.md
The split was conveyed only through examples (functional tests assert
row counts; macro unit tests use assert_sql_equal), and a contributor
could reasonably put specific-warning or compiled-SQL assertions in a
functional test without tripping any review signal. Adds three short
sentences stating the principle (functional = outcomes, unit = specifics),
the litmus (would the assertion survive a future release that ships the
same behavior via different SQL?), and a note that trivial macro
additions do not need a test.
Co-authored-by: Isaac1 parent 59c69f6 commit f10cdfa
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