integration

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Integration

type Integration struct {
	vecty.Core
	UUID      string
	Pkg       string
	Cover     bool
	Component *mad.Component
}

Integration wraps mad.Component into a vecty component. This will render the mad.Component and execute the tests after being mounted.

func (*Integration) Mount

func (c *Integration) Mount()

Mount runs the integration tests and reports results via websocket.

func (*Integration) Render

func (c *Integration) Render() vecty.ComponentOrHTML

Render implements vecty.Component interface. This works under the assumption the Component field call returns a vecty.ComponentOrHTML

Jump to

Keyboard shortcuts

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