supavisor icon indicating copy to clipboard operation
supavisor copied to clipboard

tests: try to reduce mocking

Open abc3 opened this issue 1 year ago • 0 comments

          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

abc3 avatar Jul 07 '23 10:07 abc3