A set of integration tests for backend #2141

Open
opened 2026-03-04 01:48:00 -05:00 by deekerman · 0 comments
Owner

Originally created by @ainar-g on GitHub (Nov 13, 2020).

Originally assigned to: @ainar-g on GitHub.

We really need one. Unit tests are good to have, but they really don't catch that many bugs in a statically-typed language like Go. Integration tests, on the other hand, catch quite a lot.

The best case scenario is that we get a statically-compiled binary, AdGuardHome.test, which we can send to the target machine, run it, and get test results, coverage reports, perhaps even CPU and memory benchmark reports. I have some experience making such stuff, but not on this scale.

Originally created by @ainar-g on GitHub (Nov 13, 2020). Originally assigned to: @ainar-g on GitHub. <p>We&#xA0;<em>really</em> need one.&#x2003;Unit tests are good to&#xA0;have, but&#xA0;they really don't catch that many bugs in&#xA0;a&#xA0;statically-typed language like <i>Go</i>.&#x2003;Integration tests, on&#xA0;the&#xA0;other hand, catch quite a&#xA0;lot.</p> <p>The&#xA0;best case scenario is that&#xA0;we get a&#xA0;statically-compiled binary, <code>AdGuardHome.test</code>, which&#xA0;we can send to&#xA0;the&#xA0;target machine, run it, and&#xA0;get test results, coverage reports, perhaps even&#xA0;CPU and&#xA0;memory benchmark reports.&#x2003;I&#xA0;have some experience making such stuff, but&#xA0;not&#xA0;on&#xA0;this&#xA0;scale.</p>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#2141
No description provided.