NethermindEth / dotnet-libp2p

A libp2p implementation for .NET in C#.
MIT License
56 stars 21 forks source link

Integrate dotnet-libp2p into the test-plans interop repo #5

Closed flcl42 closed 11 months ago

flcl42 commented 1 year ago

Requires #3, #4, #6

Is your feature request related to a problem? Please describe. (https://github.com/libp2p/test-plans) repository contains interop tests uniting different implementations. Let's add dotnet-libp2p test case to the suite.

Describe the solution you'd like A program that builds custom protocol stack according to the spec It should work as part of the interop tests, which means docker integration also.

Additional context Test plans repository is already added as a submodule of dotnet-libp2p for convenience, it appears in the project if you clone it recursively:

git clone git@github.com:NethermindEth/dotnet-libp2p.git --recursively
# or 
git clone https://github.com/NethermindEth/dotnet-libp2p.git --recursively
# for an already cloned project
git submodule init
git submodule update

To run test plans locally, the following need to be run:

cd src/test-plans/multidim-interop/js/v0.41
npm i
cd ../v0.42
npm i
cd ../..
npm i
make
npm test