blinklabs-io / gouroboros

Go implementation of the Cardano Ouroboros family of protocols
Apache License 2.0
67 stars 11 forks source link

Add support for negative test cases when mocking Ouroboros conversation #267

Open agaffney opened 1 year ago

agaffney commented 1 year ago

We originally created a mock Ouroboros conversation test framework as part of #262, but it doesn't support testing negative cases. It needs the ability to specify an expected error, which also means we need a way to capture the errors from the mocked connection and muxer.

wolf31o2 commented 5 months ago

Should this be moved to ouroboros-mock?