Documentation
¶
Overview ¶
package integration provides common tools for all integration test executors
Index ¶
- Constants
- type CCppTestConf
- func (conf *CCppTestConf) Build(t *testing.T)
- func (conf *CCppTestConf) Cleanup()
- func (conf *CCppTestConf) CommonExecute(t *testing.T, lang cCppStandard)
- func (conf *CCppTestConf) CreateCMake(t *testing.T, lang cCppStandard, mainFile string)
- func (conf *CCppTestConf) Generate(t *testing.T, schemas map[string]string)
- func (conf *CCppTestConf) Run(t *testing.T, envVars []string)
Constants ¶
View Source
const Cpp11 = cCppStandard("C++11")
View Source
const Cpp14 = cCppStandard("C++14")
View Source
const Cpp17 = cCppStandard("C++17")
View Source
const CppDefault = Cpp14
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CCppTestConf ¶
type CCppTestConf struct { Cmake *cmake.Cmake Generator *cgenerator.CGenerator }
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, lang cCppStandard)
CommonExecute executes the integration with the simple/common setup
func (*CCppTestConf) CreateCMake ¶
func (conf *CCppTestConf) CreateCMake(t *testing.T, lang cCppStandard, mainFile string)
CreateCMake creates temporary directories and configures the CMake project
Click to show internal directories.
Click to hide internal directories.