在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ipfs/interop开源软件地址:https://github.com/ipfs/interop开源编程语言:JavaScript 98.2%开源软件介绍:Interoperability Tests for IPFS
This repository will be used for interop tests. Please jump into the issues if you'd like to help out setting this up! UsageInstall$ npm install -g ipfs-interop Run the tests$ ipfs-interop Run a particular test locally$ node bin/ipfs-interop.js -- -t node --grep {substring-test-name} Testing with different versions of go/js IPFSAs a projectThis module declares peer dependencies of {
"name": "my-project",
"scripts": {
"interop": "ipfs-interop"
},
"dependencies": {
"go-ipfs": "...",
"ipfs": "...",
"ipfs-http-client": "...",
"ipfs-interop": "..."
}
} Then run: $ npm run interop As environmental variablesSpecify the following environmental variables to control which versions of IPFS ipfs-interop uses when installed globally:
Then run: $ npm install -g ipfs-interop
$ IPFS_GO_EXEC=/path IPFS_JS_EXEC=/path IPFS_JS_MODULE=/path IPFS_JS_HTTP_MODULE=/path ipfs-interop As a custom runtimeIf you want to run interop on CI against specific repo and git revision of
go-ipfs or js-ipfs* then set everything up in If you want to test against unrelased things locally, make sure the same env variables are set on your machine. For example, to run pubsub tests against go-ipfs and js-ipfs revision defined
in
Releasing a new versionThis repo does not use aegir for releases.
Use
Interop release process for when breaking changes are introduced
ContributeFeel free to join in. All welcome. Open an issue! This repository falls under the IPFS Code of Conduct. License |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论