0.7.1 • Published 2 years ago

libp2p-interop v0.7.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Interoperability Tests for libp2p

npm.io npm.io npm.io Discourse posts

Interoperability tests for libp2p Implementations

This repository will be used for interop tests.

Lead Maintainer

Vasco Santos

Usage

Install

> git clone git@github.com:libp2p/interop.git
> cd interop
> npm install

Run the tests

> npm test

Testing local daemons

It is possible to test local versions of the go and js daemons exporting the respective path before running the tests.

Specifying the go-libp2p daemon See the go-libp2p-daemon install instructions for building the local binary.

$ LIBP2P_GO_BIN=$GOPATH/bin/p2pd npm run test

Specifying the js-libp2p daemon From the js-libp2p-daemon local repo checkout you can perform an npm link to create a binary, jsp2pd in the global npm space.

$ LIBP2P_JS_BIN=$(which jsp2pd) npm run test

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the IPFS Code of Conduct.

npm.io

License

MIT