testingtools

package
v0.0.2-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsyncLite

AsyncLite returns a new tests.LoggableAsyncRunnableTools instance that can be used to test functions with logging and runnable contexts. The loggerLevel parameter determines the minimum log level for which messages are logged. The returned instance of tests.LoggableAsyncRunnableTools is thread-safe.

func ConcLite

ConcLite creates a new LoggableRunnableTools instance from a FailureLoggableTesting instance and a loggerLevel. It returns a new concLite instance with the FailureLoggableTesting and loggerLevel parameters. The returned instance of LoggableRunnableTools is thread-safe.

func GtoolsLite

func GtoolsLite[T gtests.FailureLoggableTesting](testing T, loggerLevel gtests.LoggerStrategy) gtests.GtoolsLite

GtoolsLite returns a new tests.GtoolsLite instance configured with the provided testing and loggerLevel parameters.

func LoggableToolsLite

func LoggableToolsLite[T gtests.FailureLoggableTesting](testing T, loggerLevel gtests.LoggerStrategy) gtests.LoggableTools

func LoggersLite

func LoggersLite[T gtests.FailureLoggableTesting](testing T, loggerLevel gtests.LoggerStrategy) gtests.Loggable

LoggersLite creates a new tests.Loggable from a tests.FailureLoggableTesting instance. It prints the log stack to the console based on the logger strategy. The returned instance of LoggableTesting is thread-safe.

Types

This section is empty.

Directories

Path Synopsis
conc

Jump to

Keyboard shortcuts

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