v0.2.3
This release includes a few new features and general improvements to the SDK:
-
We introduced generic
Invoke()
andInvokeMap()
functions to take any of two test case function signatures:TestCaseFn
(original) andInitializedTestCaseFn
(new). When the latter is passed, we perform a basic initialization, that is recurringly seen across many test plans. Refer to godocs of that type for more information. -
We added support for custom tags per measurement. Measurements now could include a comma-delimited tags (ala statsd) for example:
fil.node.mine-block,miner=t01000,otherkey=othervalue
. -
We introduced
sdk.Verbose
flag to enable verbose SDK logging. -
We added
runenv.PortNumber()
which passes custom exposed ports to the run environment of test plans. -
We added deferrable
run.HandlePanics()
to propagate panics from children goroutines.