2 days ago · Tech · hide · 0 comments

Live tests[permalink] A belated status update for July, since the final task has been “99% ready” for over fifteen days, and trickled way into August. This last task was generating reports for live tests. The idea behind live tests is to check that libdav is fully compatible with various expectations out there. A colleague recently asked whether this was really necessary: standards mean you just target the standard and know your code works on all servers. In practice, this is far from true. These live tests have immense value: I’ve found bugs in my implementation which only reproduce with one server, while others are lenient and accept technically-invalid requests. I’ve found bugs in servers, many of which I’ve reported upstream, several having been fixed already. I’ve found bugs in my reasoning, which led to bogus tests where both my library and the server were correct, but I learnt something new. Test results yield a clear summary of what’s expected to work and what isn’t. A few…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.