Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunJSONTest ¶
func RunJSONTest(testFilePath string, vmp VMProvider, world *worldhook.BlockchainHookMock) error
RunJSONTest ... only playing around for now
func TestAllInDirectory ¶
func TestAllInDirectory(t *testing.T, generalTestPath string, specificTestPath string, vmp VMProvider, world *worldhook.BlockchainHookMock)
TestAllInDirectory ... walk directory and run all .iele.json tests
Types ¶
type VMProvider ¶
type VMProvider interface {
GetVM(scheduleName string) (vmi.VMExecutionHandler, error)
}
VMProvider is an interface used by the tests to get the right VM version for the required schedule
Click to show internal directories.
Click to hide internal directories.