* fix(interop): use standaloneTransports as string instead of param When generating the test specification (docker-compose file) we enumerate all transport permutations. While some of our transports need to be upgraded (e.g. TCP and WS) some don't (e.g. QUIC or WebRTC). To differentiate the two we execute two SQL queries (`queryResults` and `standaloneTransportsQueryResults`), each with either a `AND _ NOT IN` or `AND _ IN`. The previous implementation would use `node-sqlite3` query parameters (see https://github.com/TryGhost/node-sqlite3/wiki/API#runsql--param---callback) to provide the list of transport protocols that don't need upgrading as an array. The problem is that `node-sqlite3` does not support arrays as query parameters, see https://github.com/TryGhost/node-sqlite3/issues/762. This commit uses string interpolation instead to inject the list of standalone transports into the SQL queries. * Nit --------- Co-authored-by: Marco Munizaga <git@marcopolo.io> Co-authored-by: Marco Munizaga <marco@marcopolo.io>
Interoperabilty and end to end test-plans for libp2p
This repository contains interoperability and end to end tests for libp2p modules across different implementations and versions.
Specs
Please see our first specification for interoperability tests between transports, multiplexers, and secure channels here: Interoperability Test Specs
More specs to come soon!
History
These test-plans historically used Testground. To read why we're now using docker compose
instead please see: Why we're moving away from Testground
Roadmap
Our roadmap for test-plans can be found here: https://github.com/libp2p/test-plans/blob/master/ROADMAP.md
It represents current projects the test-plans maintainers are focused on and provides an estimation of completion targets. It is complementary to those of go-libp2p, rust-libp2p, js-libp2p, and the overarching libp2p project roadmap.
License
Dual-licensed: MIT, Apache Software License v2, by way of the Permissive License Stack.