maidsafe / bls_dkg

Implementation of a BLS DKG mechanism, requires signing key, encryption key and SocketAddr of participants
BSD 3-Clause "New" or "Revised" License
21 stars 17 forks source link

Futher improve the test coverage #59

Open maqi opened 3 years ago

maqi commented 3 years ago

The current coverage report only shows a test coverage of 50%.

We may need more tests to cover changing membership, but with simple net setup and not requiring qp2p.

as a note, the previous tests using members doesn't contribute to the test coverage.

For reference, we could have a look at https://github.com/dan-da/brb/blob/master/src/net.rs.
With some usage/tests are in: https://github.com/dan-da/brb_dt_orswot/blob/master/tests/brb_orswot_net.rs for a fake network testing.