xddxdd / bird-lg-go

BIRD looking glass in Go, for better maintainability, easier deployment & smaller memory footprint
GNU General Public License v3.0
141 stars 27 forks source link

Improve unit test coverage #76

Closed xddxdd closed 1 year ago

xddxdd commented 1 year ago

... so I don't break stuff when making future changes.

xddxdd commented 1 year ago
github.com/xddxdd/bird-lg-go/frontend   coverage: 86.9% of statements
github.com/xddxdd/bird-lg-go/proxy      coverage: 81.9% of statements

This is as much as I can do for now. The uncovered lines are either edge cases that are very hard to trigger, or program entrypoints which I have no idea how to unit test.