supavisor
supavisor copied to clipboard
tests: try to reduce mocking
this is a separate discussion (apologies, I don't think we had one about it!) but while mocking is pretty convenient here I think it provides less confidence and more fragile (totally coupled to the implementation) test suite. Since it's trivial to spawn tcp sockets on the BEAM, I'd consider doing just that and testing against them.
Originally posted by @wojtekmach in https://github.com/supabase/supavisor/pull/124#discussion_r1254895600