News for hackers. Stuff that matters.
Re:Validation, Docs, tests, and database schemas from one so... by eska on Thursday June 11, 2026 @06:40AM (#48488568)
Aren’t the generated tests superfluous since they just test whether the framework implements validation correctly? This should already be tested at the framework level and add no value?
Re:Validation, Docs, tests, and database schemas from one so... by justhamade on Tuesday June 16, 2026 @05:10PM (#48562148)
Sort of, but the benefit is more along the lines of regression testing to make sure when things change they don't break. Also it does random fuzzing which can generate weird, edge-case inputs, like bizarre Unicode strings or extremely large numbers. These might technically pass declared schema validation but end up breaking your actual handler or database implementation.