tests

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CR

func CR() string

func CaptureLog

func CaptureLog(fn func()) string

func PG

func PG() string

func StorageType

func StorageType() string

Types

type Generator

type Generator struct{}

func (Generator) String

func (g Generator) String(constraints ...int) string

Generate a random string No arguments: 0-200 length Single integer: exactly N length Two integers: between A and B lengths

func (Generator) UUID

func (_ Generator) UUID() string

Directories

Path Synopsis
A wrapper around *testing.T. I hate the if a != b { t.ErrorF(....) } pattern.
A wrapper around *testing.T. I hate the if a != b { t.ErrorF(....) } pattern.

Jump to

Keyboard shortcuts

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