storjscantest

package
v0.0.0-...-28a1e52 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, test Test)

Run runs testplanet and storjscan and executes test function.

Types

type Stack

type Stack struct {
	Log      *zap.Logger
	App      *storjscan.App
	StartApp func() error
	CloseApp func() error
	Network  *testeth.Network
	Token    blockchain.Address
}

Stack contains references to storjscan app and eth test network.

type Test

type Test func(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet, stack *Stack)

Test defines common services for storjscan tests.

Jump to

Keyboard shortcuts

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