contactstest

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package contactstest provides a helper functions to create contacts file from a list of peers for use in tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewYAMLFile

func NewYAMLFile(t *testing.T, peers ...perun.Peer) string

NewYAMLFile creates a temporary file containing the details of given peers and returns the path to it. It also registers a cleanup function on the passed test handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL