/go-libp2p-testutils

golang test utilities for libp2p development

Primary LanguageGoApache License 2.0Apache-2.0

go-libp2p-testutils

codecov

go-libp2p-testutils provides helpful utility functions useful when needing to write tests for libp2p/ipfs applications.

Features

  • Create libp2p host
  • Create libp2p dht
  • Create private key
  • Create libp2p private network secret
  • Create in-memory peerstore
  • Create in-memory datastore
  • Create a multiaddr
  • Create a zap test logger
  • Create an in-memory keystore