firepear / petrel

It's like SQLite, but for networking
MIT License
20 stars 1 forks source link

Tests overhaul #75

Open firepear opened 1 month ago

firepear commented 1 month ago

The current test suite is good, but it was always brittle -- a side effect of checking lots of package internals, which was very handy during initial development when I was less familiar with both the flow of concurrent code and netcode in general.

But v0.37 is a drastic overhaul of internal data representation, so it's going to break a lot of tests.

On the plus side, this makes it a good place to start from scratch with a new, smaller, more appropriately targeted suite of tests.

firepear commented 1 month ago

Ignore HMAC and TLS testing until 0.39.

Ignore non-TCP connection tests until it's decided whether to actually keep them, or they're folded into a unified connection method.