A small collection of weird test convenience helpers with odd names, to aid in DRY. Preferably dot-imported as a simple DSL to make your unit tests more concise. A nice companion to Ginkgo.
- package
tuples: type-safe tuples packing and unpacking:Pair,Triple. UsePackPair(...),Unpack(), et cetera. - package
concur: calling functions on new goroutines and signalling when they've finished, optionally channeling their results back:CloseWhenDone,PassWhenDone. - package
zero:Zero[T]()when you want to be curt without explicit zero vars. - package
nothing:interface{}hasany, we haveNothingforstruct{}.
Caution
Do not use VSCode's "Dev Containers: Clone Repository in Container
Volume" command, as it is utterly broken by design, ignoring
.devcontainer/devcontainer.json.
git clone https://github.com/thediveo/testily- in VSCode: Ctrl+Shift+P, "Dev Containers: Open Workspace in Container..."
- select
testily.code-workspaceand off you go...
lxkns supports versions of Go that are noted by the Go release
policy, that is, major
versions N and N-1 (where N is the current major version).
Please see CONTRIBUTING.md.
testily is Copyright 2026 Harald Albrecht, and licensed under the Apache
License, Version 2.0.