β οΈ Heavy WIP. beware of the Dragons π..
This repository is incubating the Testground. π£
You may have noticed a few test efforts with similar names underway! Testing at scale is a hard problem. We are indeed exploring and experimenting a lot, until we land on an end-to-end solution that works for us.
- Interplanetary Testbed (IPTB): https://github.com/ipfs/iptb
- a simple utility to manage local clusters/aggregates of IPFS instances.
- libp2p testlab: https://github.com/libp2p/testlab
- a Nomad deployer for libp2p nodes with a DSL for test scenarios.
- And others such as https://github.com/ipfs/interop and https://github.com/ipfs/benchmarks
The Test Ground aims to leverage the learnings and tooling resulting from those efforts to provide a scalable runtime environment for the execution of various types of tests and benchmarks, written in different languages, by different teams, targeting a specific commit of IPFS and/or libp2p, and quantifying its characteristics in terms of performance, resource and network utilisation, stability, interoperability, etc., when compared to other commits.
The Test Ground aims to be tightly integrated with the software engineering practices and tooling the IPFS and libp2p teams rely on.
The current TestGround Team is composed of:
- @raulk - Lead Architect, Engineer, Developer
- @daviddias - Engineer, Developer, acting as interim PM for the project
- @nonsense - Engineer, Developer, TestGround as a Service / Infrastructure Lead
- @jimpick - Engineer, Developer
- @stebalien - Engineer, Developer
- @hacdias - Engineer, Developer
- you! Yes, you can contribute as well, however, do understand that this is a brand new and fast moving project and so contributing might require extra time to onboard
To learn how this team works together read HOW_WE_WORK
- Consult the USAGE to learn how to get it running
- Refer to the SPEC document to understand how it all works.
- Consult the repo structure below to know where to find the multiple subsystems and test plans of TestGround
βββ README.md # This file
βββ docs # Documentation of the project
βΒ Β βββ SPEC.md
βΒ Β βββ ...
βββ main.go # TestGround entrypoint file
βββ cmd # TestGround CLI comamnds
βΒ Β βββ all.go
βΒ Β βββ ...
βββ sdk # SDK available to each test plan
βΒ Β βββ runtime
βΒ Β βββ ...
βββ pkg # Internals to TestGround
βΒ Β βββ api
βΒ Β βββ ...
βββ manifests # Manifests for each test Plan. These exist independent from plans to enable plans to live elsewhere
βΒ Β βββ dht.toml
βΒ Β βββ smlbench.toml
βββ plans # The Test Plan. Includes Image to be run, Assertions and more
βΒ Β βββ dht
βΒ Β βββ smlbench
βββ tools # ??
βββ src_generate.goIf you plan to contribute code, make sure to install the pre-commit tool, which manages our pre-commit hooks for things like linters, go fmt, go vet, etc.
We provide a Makefile rule to facilitate the setup:
$ make pre-commitThis repository falls under the IPFS Code of Conduct.
You can contact us on the freenode #ipfs-dev channel or attend one of our weekly calls.
Dual-licensed: MIT, Apache Software License v2, by way of the Permissive License Stack.
