Documentation ¶
Overview ¶
Package xload contains testing helpers but for initialization.
Because of that, that type of funcs cannot contain *t testing.T arg on any function, so the errs are notified by log.Fatal (due every bad initialization causes bad processing).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeJsonnet ¶
func DecodeJsonnet(name string, pointer interface{})
DecodeJsonnet will load the specified fixture and decode onto the given pointer It'll add the boilerplate of testdata/%s.jsonnet
func ReadJsonnet ¶
ReadJsonnet reads the jsonnet given from the specified file It'll add the boilerplate of testdata/%s.jsonnet
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.