Commit acf6280
committed
Fix coverage threshold for E2E tests
E2E tests measure test helper coverage (helpers.go), not the actual
implementation coverage in src/semantic-router/pkg/classification/.
Changed threshold from 80% to 20% and added clarifying notes that:
- E2E test coverage measures test helper code only
- Implementation coverage is tested separately in unit tests
This is appropriate because E2E tests are integration tests that
exercise the actual keyword_classifier.go implementation, but Go's
coverage tool only measures coverage of files in the test package.
Signed-off-by: Senan Zedan <[email protected]>1 parent 7d27e11 commit acf6280
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
0 commit comments