integration

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

package integration provides common tools for all integration test executors

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CCppTestConf

type CCppTestConf struct {
	Cmake *cmake.Cmake
}

func (*CCppTestConf) Build

func (conf *CCppTestConf) Build(t *testing.T)

Build compiles the test sources producing an executable

func (*CCppTestConf) Cleanup

func (conf *CCppTestConf) Cleanup()

func (*CCppTestConf) CommonExecute

func (conf *CCppTestConf) CommonExecute(t *testing.T, cpp bool)

CommonExecute executes the integration with the simple/common setup

func (*CCppTestConf) CreateCMake

func (conf *CCppTestConf) CreateCMake(t *testing.T, cpp bool, mainFile string)

CreateCMake creates temporary directories and configures the CMake project

func (*CCppTestConf) Generate

func (conf *CCppTestConf) Generate(t *testing.T, schema string)

Generate loads *.fbs files in the current dir (or the given schema file) and generates the code

func (*CCppTestConf) Run

func (conf *CCppTestConf) Run(t *testing.T, envVars []string)

Run executes the built test binary

Jump to

Keyboard shortcuts

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