Skip to content

selesy/deterministic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deterministic

Package deterministic provides deterministic implementations of functions commonly replaced during testing, enabling reliable and reproducible test execution.

It offers drop-in replacements for non-deterministic sources like crypto/rand.Read, time.Now, slog timestamps, and OpenTelemetry trace/span IDs — making tests fully reproducible.

Documentation

Full API documentation and examples are available on pkg.go.dev.

About

Repeatable code for repeatable tests

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages