Replying to @DionNam@programming.dev
Agreed, real use is the test that counts most. Besides that, there is the automated side:
- unit and integration tests (handlers run against a real database);
- end-to-end tests that click through real user flows in a browser (Playwright): the full suite on Chromium, a smoke spec on Firefox and WebKit;
- property-based tests and reference vectors for the cycle math;
- fuzzing of the parsers and validators, also in CI;
- mutation testing: a weekly job breaks the code on purpose and checks that some test fails. Last measured, 93-98% of the mutants were killed, depending on the package.
The details, and the limits of all this, are written up here: github.com/ovumcy/ovumcy-web/blob/…/TESTING.md
None of it proves the design is right, of course. For that, people using it and reading the code are still the better check.
