libp2p / specs

Technical specifications for the libp2p networking stack
https://libp2p.io
1.58k stars 274 forks source link

Test suites #70

Open jamesray1 opened 6 years ago

jamesray1 commented 6 years ago

Test suites should ideally use JSON for interoperability across virtually all languages.

Currently it appears that the test suites in https://github.com/libp2p/specs/blob/master/6-interfaces.md are in JS and Go.

There doesn't seem to be a suite/interface for NAT traversal and there isn't either for gossibsub, floodsub or multicast. Not sure off the top of my head what else is missing.

Additionally where using the same .proto protobuf file, this should make it easier for interoperability.

bigs commented 6 years ago

Could you provide a link back to some examples of test suites like this or the general philosophy? Definitely interested, but need a bit more info!

jamesray1 commented 6 years ago

Here you go: https://github.com/ethereum/tests