Directories
¶
Path | Synopsis |
---|---|
Package bdd defines a BDD-style bifurcated evaluation context, compatible with the build-in testing package.
|
Package bdd defines a BDD-style bifurcated evaluation context, compatible with the build-in testing package. |
Package require starts a predicate chain that will fail the current test if the assertions fails.
|
Package require starts a predicate chain that will fail the current test if the assertions fails. |
Package slogtest provides support for recording structured log slog messages during tests and verifying that the expected messages have been emitted.
|
Package slogtest provides support for recording structured log slog messages during tests and verifying that the expected messages have been emitted. |
Package subexpr starts an unevaluated predicate chain that is captured an outer predicate responsible for evaluating the condition on one or more values of a collection.
|
Package subexpr starts an unevaluated predicate chain that is captured an outer predicate responsible for evaluating the condition on one or more values of a collection. |
utils
|
|
builder
Package builder is main underlying package in the implementation of `verify.That()` and `require.That()`, with the `Builder` type providing the core functionality of the predicate builder.
|
Package builder is main underlying package in the implementation of `verify.That()` and `require.That()`, with the `Builder` type providing the core functionality of the predicate builder. |
codegen
Package codegen is a small package intended to help with integrating custom code generation tools in your project.
|
Package codegen is a small package intended to help with integrating custom code generation tools in your project. |
predicate
Package predicate defines both `Predicate“ and `Transform` types and handles the predicate evaluation process.
|
Package predicate defines both `Predicate“ and `Transform` types and handles the predicate evaluation process. |
predicate/impl
Package impl defines all the support predicates and transformation function as individual functions that are then forwarded through code generation to the Builder type.
|
Package impl defines all the support predicates and transformation function as individual functions that are then forwarded through code generation to the Builder type. |
prettyprint
Package prettyprint formats any go value in a way that is similar to the equivalent literal in a go source file.
|
Package prettyprint formats any go value in a way that is similar to the equivalent literal in a go source file. |
value
Package value defines helper functions to compare numeric and other value types as either ordered or unordered.
|
Package value defines helper functions to compare numeric and other value types as either ordered or unordered. |
Package verify starts a predicate chain that will let the current test continue even if the assertions fails.
|
Package verify starts a predicate chain that will let the current test continue even if the assertions fails. |
Click to show internal directories.
Click to hide internal directories.