tests

package
v0.0.0-...-36b8808 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2019 License: BlueOak-1.0.0 Imports: 17 Imported by: 0

README

tests

Tests for the Reserve Dollar smart contracts.

Unit tests for the central smart contracts are in reserve_test.go and mint_and_burn_admin_test.go. These are built on base.go, and are run from make test in the repository root.

make fuzz from the repo root will attempt fuzz testing with echidna as set up in the echidna/ directory. The tests there should currently pass, but don't yet have the reach we've intended.

make coverage from the repo root can prdouce coverage output in the coverage/ directory, here.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestSuite

type TestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

TestSuite holds functionality common between our two test suites.

It knows how to create a connection to an Ethereum node, it holds a list of accounts to use with that node, and it implements common test assertions.

Jump to

Keyboard shortcuts

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