test

package
v2.0.0-alpha.37 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AbsolutePath string
	TestPath     string `yaml:"test_path"`
}

type MarotoTest

type MarotoTest struct {
	// contains filtered or unexported fields
}

func New

func New(t *testing.T) *MarotoTest

func (*MarotoTest) Assert

func (m *MarotoTest) Assert(structure *node.Node[core.Structure]) *MarotoTest

func (*MarotoTest) Equals

func (m *MarotoTest) Equals(file string) *MarotoTest

func (*MarotoTest) Save

func (m *MarotoTest) Save(file string) *MarotoTest

type Node

type Node struct {
	Value   interface{}            `json:"value,omitempty"`
	Type    string                 `json:"type"`
	Details map[string]interface{} `json:"details,omitempty"`
	Nodes   []*Node                `json:"nodes,omitempty"`
}

Jump to

Keyboard shortcuts

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