kztests

package
v0.0.0-...-078eab7 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package kztests helps with table testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTests

func RunTests(t *testing.T, functions any, tkits []TestKit)

RunTests run test kits.

Types

type TestKit

type TestKit struct {
	Arg  any
	Arg1 any
	Arg2 any
	Arg3 any
	Arg4 any
	Arg5 any
	Arg6 any
	Arg7 any
	Args []any

	Result  any
	Result1 any
	Result2 any
	Result3 any
	Result4 any
	Result5 any
	Result6 any
	Result7 any
	Results []any
}

TestKit struct for one test case.

Jump to

Keyboard shortcuts

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