system

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package system defines system tests for Stratumn Node.

The tests are done by connecting via the API to Stratumn nodes launched in separate processes.

Index

Constants

View Source
const (
	// NumNodes is the number of nodes launched before each test.
	NumNodes = 11

	// MaxDuration is the maximum allowed duration for a test.
	MaxDuration = 2 * time.Minute

	// SessionDir is the directory where session data will be saved.
	SessionDir = "../tmp/system"
)

Variables

This section is empty.

Functions

func Test

func Test(t *testing.T, fn session.Tester)

Test wrap session.Session with a context and handles errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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